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

Method test_where_empty

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

Source from the content-addressed store, hash-verified

2009 )
2010
2011 def test_where_empty(self):
2012 self.assert_compile(
2013 select(table1.c.myid).where(
2014 BooleanClauseList._construct_raw(operators.and_)
2015 ),
2016 "SELECT mytable.myid FROM mytable",
2017 )
2018 self.assert_compile(
2019 select(table1.c.myid).where(
2020 BooleanClauseList._construct_raw(operators.or_)
2021 ),
2022 "SELECT mytable.myid FROM mytable",
2023 )
2024
2025 def test_where_multiple(self):
2026 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