MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / seven

Method seven

test/sql/test_compare.py:1224–1230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1222 )
1223
1224 def seven():
1225 # lambda statements don't collect bindparameter objects
1226 # for fixed values, has to be in a variable
1227 value = random.randint(10, 20)
1228 return lambda_stmt(lambda: select(table_a)) + (
1229 lambda s: s.where(table_a.c.a == value)
1230 )
1231
1232 from sqlalchemy.sql import lambdas
1233

Callers

nothing calls this directly

Calls 3

lambda_stmtFunction · 0.90
selectFunction · 0.90
whereMethod · 0.45

Tested by

no test coverage detected