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

Method one

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

Source from the content-addressed store, hash-verified

929
930 def _complex_fixtures():
931 def one():
932 a1 = table_a.alias()
933 a2 = table_b_like_a.alias()
934
935 stmt = (
936 select(table_a.c.a, a1.c.b, a2.c.b)
937 .where(table_a.c.b == a1.c.b)
938 .where(a1.c.b == a2.c.b)
939 .where(a1.c.a == 5)
940 )
941
942 return stmt
943
944 def one_diff():
945 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