MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_lastrow_accessor_five

Method test_lastrow_accessor_five

test/sql/test_insert_exec.py:333–347  ·  view source on GitHub ↗
(
        self, metadata, connection, implicit_returning
    )

Source from the content-addressed store, hash-verified

331 argnames="implicit_returning",
332 )
333 def test_lastrow_accessor_five(
334 self, metadata, connection, implicit_returning
335 ):
336 self._test_lastrow_accessor(
337 connection,
338 Table(
339 "t5",
340 metadata,
341 Column("id", String(10), primary_key=True),
342 Column("bar", String(30), server_default="hi"),
343 implicit_returning=implicit_returning,
344 ),
345 {"id": "id1"},
346 {"id": "id1", "bar": "hi"},
347 )
348
349 @testing.requires.supports_autoincrement_w_composite_pk
350 @testing.combinations(

Callers

nothing calls this directly

Calls 4

TableClass · 0.90
ColumnClass · 0.90
StringClass · 0.90

Tested by

no test coverage detected