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

Method go

lib/sqlalchemy/testing/suite/test_select.py:1168–1174  ·  view source on GitHub ↗
(val, expected)

Source from the content-addressed store, hash-verified

1166 table = self.tables.some_table
1167
1168 def go(val, expected):
1169 stmt = (
1170 select(table.c.id)
1171 .where(tuple_(table.c.x, table.c.z).in_(val))
1172 .order_by(table.c.id)
1173 )
1174 self._assert_result(stmt, expected)
1175
1176 go([], [])
1177 go([(2, "z2"), (3, "z3"), (4, "z4")], [(2,), (3,), (4,)])

Callers

nothing calls this directly

Calls 6

_assert_resultMethod · 0.95
selectFunction · 0.90
tuple_Function · 0.85
order_byMethod · 0.45
whereMethod · 0.45
in_Method · 0.45

Tested by

no test coverage detected