class documentation

class ReflectedPrimaryKeyConstraint(ReflectedConstraint): (source)

View In Hierarchy

Dictionary representing the reflected elements corresponding to :class:`.PrimaryKeyConstraint`. The :class:`.ReflectedPrimaryKeyConstraint` structure is returned by the :meth:`.Inspector.get_pk_constraint` method.

Class Variable constrained_columns column names which comprise the primary key
Class Variable dialect_options Additional dialect-specific options detected for this primary key

Inherited from ReflectedConstraint:

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

column names which comprise the primary key

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

Additional dialect-specific options detected for this primary key