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

Method test_select_where

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

Source from the content-addressed store, hash-verified

918 self._assert_raises(stmt, {"data": "data"})
919
920 def test_select_where(self):
921 stmt = (
922 select(self.tables.foo)
923 .where(self.tables.foo.c.data == bindparam("data"))
924 .where(self.tables.foo.c.x == bindparam("x"))
925 )
926 self._assert_raises(stmt, {"data": "data"})
927
928 @testing.requires.standalone_binds
929 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