MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

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

Source from the content-addressed store, hash-verified

1172 table = self.tables.some_table
1173
1174 def go(val, expected):
1175 stmt = (
1176 select(table.c.id)
1177 .where(tuple_(table.c.x, table.c.z).in_(val))
1178 .order_by(table.c.id)
1179 )
1180 self._assert_result(stmt, expected)
1181
1182 go([], [])
1183 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