MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / ins

Method ins

test/sql/test_lambdas.py:1889–1892  ·  view source on GitHub ↗
(id_, name)

Source from the content-addressed store, hash-verified

1887 users, addresses = user_address_fixture
1888
1889 def ins(id_, name):
1890 stmt = lambda_stmt(lambda: users.insert())
1891 stmt += lambda s: s.values(id=id_, name=name)
1892 return stmt
1893
1894 with testing.db.begin() as conn:
1895 conn.execute(ins(12, "foo"))

Callers

nothing calls this directly

Calls 3

lambda_stmtFunction · 0.90
insertMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected