diff options
author | Michael Williamson <mike@zwobble.org> | 2016-08-28 12:22:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-28 12:22:42 +0100 |
commit | 2b0fa0f8a190a65aea5a284e4f7d0a22488ae560 (patch) | |
tree | 3a094b3b8bdefbc2205726fdb79120aa3101496e /lib/sqlalchemy | |
parent | 117997cd5b849a236208cf9ea16f0f09c6962804 (diff) | |
download | sqlalchemy-pr/303.tar.gz |
Fix table reference in PostgreSQL documentationpr/303
Diffstat (limited to 'lib/sqlalchemy')
-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 ^^^^^^^^^^^^^^^^^ |