]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add docs 5700/head
authorAlonM <alon.menczer@gmail.com>
Sat, 14 Nov 2020 17:13:21 +0000 (19:13 +0200)
committerAlonM <alon.menczer@gmail.com>
Sat, 14 Nov 2020 17:25:41 +0000 (19:25 +0200)
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/ext.py

index 0ba3d0a6385b694d88d54a167652721d11d53410..655a31d1156dc2b0001707f3e8f7d137ef44cb99 100644 (file)
@@ -781,6 +781,8 @@ using the ``postgresql_where`` keyword argument::
 
   Index('my_index', my_table.c.id, postgresql_where=my_table.c.value > 10)
 
+.. _postgresql_operator_classes:
+
 Operator Classes
 ^^^^^^^^^^^^^^^^
 
index d2c6e81a326e53bb2f81e1a81485a42259ca49ba..fce4a2559c4003c4a9c5f71538a1cbf05ae71135 100644 (file)
@@ -171,6 +171,11 @@ class ExcludeConstraint(ColumnCollectionConstraint):
           If set, emit WHERE <predicate> when issuing DDL
           for this constraint.
 
+        :param ops:
+          Optional dictionary.  Used to define operator classes for the
+          elements.
+          See :ref:`_postgresql_operator_classes`
+
         """
         columns = []
         render_exprs = []