MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / one

Method one

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

Source from the content-addressed store, hash-verified

1009
1010 def _complex_fixtures():
1011 def one():
1012 a1 = table_a.alias()
1013 a2 = table_b_like_a.alias()
1014
1015 stmt = (
1016 select(table_a.c.a, a1.c.b, a2.c.b)
1017 .where(table_a.c.b == a1.c.b)
1018 .where(a1.c.b == a2.c.b)
1019 .where(a1.c.a == 5)
1020 )
1021
1022 return stmt
1023
1024 def one_diff():
1025 a1 = table_b_like_a.alias()

Calls 7

selectFunction · 0.90
columnFunction · 0.90
LambdaElementClass · 0.90
aliasMethod · 0.45
whereMethod · 0.45
labelMethod · 0.45
subqueryMethod · 0.45

Tested by

no test coverage detected