MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_insert_w_fetch

Method test_insert_w_fetch

test/orm/dml/test_bulk.py:419–425  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

417 cls.mapper_registry.map_imperatively(A, a)
418
419 def test_insert_w_fetch(self):
420 A = self.classes.A
421
422 s = fixture_session()
423 a1 = A(x=1)
424 s.bulk_save_objects([a1])
425 s.commit()
426
427 def test_update_w_fetch(self):
428 A = self.classes.A

Callers

nothing calls this directly

Calls 4

fixture_sessionFunction · 0.90
AClass · 0.70
bulk_save_objectsMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected