]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
:class:`.Index` now supports arbitrary SQL expressions and/or
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Jan 2013 02:04:32 +0000 (21:04 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Jan 2013 02:04:32 +0000 (21:04 -0500)
commit7fedf9958687222a9e3c2fc4d50983711dbb3d52
tree921320393422f906e75451376b41b3406abacef4
parent87002643407f886f13a3b53283ea0b6dafa695cc
:class:`.Index` now supports arbitrary SQL expressions and/or
functions, in addition to straight columns.   Common modifiers
include using ``somecolumn.desc()`` for a descending index and
``func.lower(somecolumn)`` for a case-insensitive index, depending on the
capabilities of the target backend.
[ticket:695]
doc/build/changelog/changelog_08.rst
doc/build/core/schema.rst
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/dialects/sybase/base.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql/compiler.py
test/sql/test_constraints.py