]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] Reworked the startswith(), endswith(),
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Aug 2012 23:40:12 +0000 (19:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Aug 2012 23:40:12 +0000 (19:40 -0400)
commit7d6c1c4a95596d5d83d9187d823f88fdc46f35b6
tree1899e61ed65a2e5e44698bf06a3342aa1e89b422
parent3a2d617f7f4232ae6f0e256e6b4327e48118ffbf
  - [feature] Reworked the startswith(), endswith(),
    contains() operators to do a better job with
    negation (NOT LIKE), and also to assemble them
    at compilation time so that their rendered SQL
    can be altered, such as in the case for Firebird
    STARTING WITH [ticket:2470]
  - [feature] firebird - The "startswith()" operator renders
    as "STARTING WITH", "~startswith()" renders
    as "NOT STARTING WITH", using FB's more efficient
    operator.  [ticket:2470]
CHANGES
lib/sqlalchemy/dialects/firebird/base.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/operators.py
test/sql/test_compiler.py
test/sql/test_operators.py