MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_select_where

Method test_select_where

test/sql/test_query.py:852–858  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

850 self._assert_raises(stmt, {"data": "data"})
851
852 def test_select_where(self):
853 stmt = (
854 select(self.tables.foo)
855 .where(self.tables.foo.c.data == bindparam("data"))
856 .where(self.tables.foo.c.x == bindparam("x"))
857 )
858 self._assert_raises(stmt, {"data": "data"})
859
860 @testing.requires.standalone_binds
861 def test_select_columns(self):

Callers

nothing calls this directly

Calls 4

_assert_raisesMethod · 0.95
selectFunction · 0.90
bindparamFunction · 0.90
whereMethod · 0.45

Tested by

no test coverage detected