]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- the startswith(), endswith(), and contains() operators
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 31 Jan 2008 03:57:20 +0000 (03:57 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 31 Jan 2008 03:57:20 +0000 (03:57 +0000)
commita5b23bda66bc5ee52efeefd58b6e5e69c8f8d330
tree9e1b7a8726a3a03d067c036caf1def53f6742701
parent19c3c4c2e0cc382b3aa958895be0541b9da59127
- the startswith(), endswith(), and contains() operators
now concatenate the wildcard operator with the given
operand in SQL, i.e. "'%' || <bindparam>" in all cases,
accept text('something') operands properly [ticket:962]

- cast() accepts text('something') and other non-literal
operands properly [ticket:962]
CHANGES
lib/sqlalchemy/sql/expression.py
test/sql/select.py