MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / seven

Method seven

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

Source from the content-addressed store, hash-verified

1142 )
1143
1144 def seven():
1145 # lambda statements don't collect bindparameter objects
1146 # for fixed values, has to be in a variable
1147 value = random.randint(10, 20)
1148 return lambda_stmt(lambda: select(table_a)) + (
1149 lambda s: s.where(table_a.c.a == value)
1150 )
1151
1152 from sqlalchemy.sql import lambdas
1153

Callers

nothing calls this directly

Calls 3

lambda_stmtFunction · 0.90
selectFunction · 0.90
whereMethod · 0.45

Tested by

no test coverage detected