MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_direct_params

Method test_direct_params

test/sql/test_insert_exec.py:649–656  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

647 )
648
649 def test_direct_params(self, connection):
650 t = self._fixture()
651 self._test(
652 connection,
653 t.insert().values(id=1, data="data", x=5),
654 (1, "data", 5),
655 inserted_primary_key=(),
656 )
657
658 @testing.requires.insert_returning
659 def test_direct_params_returning(self, connection):

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
_testMethod · 0.95
valuesMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected