MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_check_constraints

Method get_check_constraints

lib/sqlalchemy/engine/interfaces.py:1714–1732  ·  view source on GitHub ↗

r"""Return information about check constraints in ``table_name``. Given a string ``table_name`` and an optional string ``schema``, return check constraint information as a list of dicts corresponding to the :class:`.ReflectedCheckConstraint` dictionary. This is an i

(
        self,
        connection: Connection,
        table_name: str,
        schema: Optional[str] = None,
        **kw: Any,
    )

Source from the content-addressed store, hash-verified

1712 raise NotImplementedError()
1713
1714 def get_check_constraints(
1715 self,
1716 connection: Connection,
1717 table_name: str,
1718 schema: Optional[str] = None,
1719 **kw: Any,
1720 ) -> List[ReflectedCheckConstraint]:
1721 r"""Return information about check constraints in ``table_name``.
1722
1723 Given a string ``table_name`` and an optional string ``schema``, return
1724 check constraint information as a list of dicts corresponding
1725 to the :class:`.ReflectedCheckConstraint` dictionary.
1726
1727 This is an internal dialect method. Applications should use
1728 :meth:`.Inspector.get_check_constraints`.
1729
1730 """
1731
1732 raise NotImplementedError()
1733
1734 def get_multi_check_constraints(
1735 self,

Calls

no outgoing calls