summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-07-20 10:49:36 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-07-20 10:49:36 -0400
commitb2d50f2807da38a4a0ecefc1a88ed4ab19e0e41c (patch)
tree462d41ff8e95edfa5526fcb206400377002178b1 /lib/sqlalchemy/schema.py
parentbd45f22e171c4bdde037e6a03b6102347d9b224b (diff)
downloadsqlalchemy-b2d50f2807da38a4a0ecefc1a88ed4ab19e0e41c.tar.gz
- Added new "postgresql_ops" argument to
Index, allows specification of PostgreSQL operator classes for indexed columns. [ticket:2198] Courtesy Filip Zyzniewski.
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r--lib/sqlalchemy/schema.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py
index 7323a5657..1763dc484 100644
--- a/lib/sqlalchemy/schema.py
+++ b/lib/sqlalchemy/schema.py
@@ -2079,7 +2079,13 @@ class Index(ColumnCollectionMixin, SchemaItem):
Defines a composite (one or more column) INDEX. For a no-frills, single
column index, adding ``index=True`` to the ``Column`` definition is
- a shorthand equivalent for an unnamed, single column Index.
+ a shorthand equivalent for an unnamed, single column :class:`.Index`.
+
+ See also:
+
+ :ref:`schema_indexes` - General information on :class:`.Index`.
+
+ :ref:`postgresql_indexes` - PostgreSQL-specific options available for the :class:`.Index` construct.
"""
__visit_name__ = 'index'