MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_where_empty

Method test_where_empty

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

Source from the content-addressed store, hash-verified

2033 )
2034
2035 def test_where_empty(self):
2036 self.assert_compile(
2037 select(table1.c.myid).where(
2038 BooleanClauseList._construct_raw(operators.and_)
2039 ),
2040 "SELECT mytable.myid FROM mytable",
2041 )
2042 self.assert_compile(
2043 select(table1.c.myid).where(
2044 BooleanClauseList._construct_raw(operators.or_)
2045 ),
2046 "SELECT mytable.myid FROM mytable",
2047 )
2048
2049 def test_where_multiple(self):
2050 self.assert_compile(

Callers

nothing calls this directly

Calls 4

selectFunction · 0.90
assert_compileMethod · 0.80
whereMethod · 0.45
_construct_rawMethod · 0.45

Tested by

no test coverage detected