diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-08-28 09:45:54 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-08-28 09:45:54 -0400 |
commit | 56a005241c6d9081563a903b7b30f8e379970899 (patch) | |
tree | 42e6762f9cfe0c7652fd2d27d3af7e9191e71670 | |
parent | b42bcb2573980d314ec429f0bde4050706afbb82 (diff) | |
parent | 2b0fa0f8a190a65aea5a284e4f7d0a22488ae560 (diff) | |
download | sqlalchemy-56a005241c6d9081563a903b7b30f8e379970899.tar.gz |
Merge remote-tracking branch 'origin/pr/303'
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index cc0f890dc..09d36349f 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -554,7 +554,7 @@ Partial indexes add criterion to the index definition so that the index is applied to a subset of rows. These can be specified on :class:`.Index` using the ``postgresql_where`` keyword argument:: - Index('my_index', my_table.c.id, postgresql_where=tbl.c.value > 10) + Index('my_index', my_table.c.id, postgresql_where=my_table.c.value > 10) Operator Classes ^^^^^^^^^^^^^^^^^ |