(
self, metadata, connection, implicit_returning
)
| 275 | argnames="implicit_returning", |
| 276 | ) |
| 277 | def test_lastrow_accessor_four( |
| 278 | self, metadata, connection, implicit_returning |
| 279 | ): |
| 280 | self._test_lastrow_accessor( |
| 281 | connection, |
| 282 | Table( |
| 283 | "t4", |
| 284 | metadata, |
| 285 | Column( |
| 286 | "id", |
| 287 | Integer, |
| 288 | normalize_sequence( |
| 289 | config, Sequence("t4_id_seq", optional=True) |
| 290 | ), |
| 291 | primary_key=True, |
| 292 | ), |
| 293 | Column("foo", String(30), primary_key=True), |
| 294 | Column("bar", String(30), server_default="hi"), |
| 295 | implicit_returning=implicit_returning, |
| 296 | ), |
| 297 | {"foo": "hi", "id": 1}, |
| 298 | {"id": 1, "foo": "hi", "bar": "hi"}, |
| 299 | ) |
| 300 | |
| 301 | @testing.requires.sequences |
| 302 | @testing.combinations( |
nothing calls this directly
no test coverage detected