MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_select

Method test_select

test/sql/test_compiler.py:6497–6504  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6495 self._do_test(self.column == 5)
6496
6497 def test_select(self):
6498 s = (
6499 select(self.column)
6500 .select_from(self.table)
6501 .where(self.column == self.criterion)
6502 .order_by(self.column)
6503 )
6504 self._do_test(s)
6505
6506 def test_case(self):
6507 c = case((self.criterion, self.column), else_=self.column)

Callers

nothing calls this directly

Calls 5

_do_testMethod · 0.95
selectFunction · 0.90
order_byMethod · 0.45
whereMethod · 0.45
select_fromMethod · 0.45

Tested by

no test coverage detected