class documentation
class ReflectedIndex(TypedDict): (source)
Dictionary representing the reflected elements corresponding to :class:`.Index`. The :class:`.ReflectedIndex` structure is returned by the :meth:`.Inspector.get_indexes` method.
Class Variable | column |
column names which the index refers towards. An element of this list is ``None`` if it's an expression and is returned in the ``expressions`` list. |
Class Variable | column |
optional dict mapping column names to tuple of sort keywords, which may include ``asc``, ``desc``, ``nulls_first``, ``nulls_last``. |
Class Variable | dialect |
Additional dialect-specific options detected for this index |
Class Variable | duplicates |
Indicates if this index mirrors a unique constraint with this name |
Class Variable | expressions |
Expressions that compose the index. This list, when present, contains both plain column names (that are also in ``column_names``) and expressions (that are ``None`` in ``column_names``). |
Class Variable | include |
columns to include in the INCLUDE clause for supporting databases. |
Class Variable | name |
index name |
Class Variable | unique |
whether or not the index has a unique flag |
column names which the index refers towards. An element of this list is ``None`` if it's an expression and is returned in the ``expressions`` list.
optional dict mapping column names to tuple of sort keywords, which may include ``asc``, ``desc``, ``nulls_first``, ``nulls_last``. .. versionadded:: 1.3.5
Expressions that compose the index. This list, when present, contains both plain column names (that are also in ``column_names``) and expressions (that are ``None`` in ``column_names``).