class documentation

class ReflectedUniqueConstraint(ReflectedConstraint): (source)

View In Hierarchy

Dictionary representing the reflected elements corresponding to :class:`.UniqueConstraint`. The :class:`.ReflectedUniqueConstraint` structure is returned by the :meth:`.Inspector.get_unique_constraints` method.

Class Variable column_names column names which comprise the unique constraint
Class Variable dialect_options Additional dialect-specific options detected for this unique constraint
Class Variable duplicates_index Indicates if this unique constraint duplicates an index with this name

Inherited from ReflectedConstraint:

Class Variable comment comment for the constraint, if present
Class Variable name constraint name
column_names: List[str] = (source)

column names which comprise the unique constraint

dialect_options: NotRequired[Dict[str, Any]] = (source)

Additional dialect-specific options detected for this unique constraint

duplicates_index: NotRequired[Optional[str]] = (source)

Indicates if this unique constraint duplicates an index with this name