MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / get_check_constraints

Method get_check_constraints

lib/sqlalchemy/engine/interfaces.py:1681–1699  ·  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

1679 raise NotImplementedError()
1680
1681 def get_check_constraints(
1682 self,
1683 connection: Connection,
1684 table_name: str,
1685 schema: Optional[str] = None,
1686 **kw: Any,
1687 ) -> List[ReflectedCheckConstraint]:
1688 r"""Return information about check constraints in ``table_name``.
1689
1690 Given a string ``table_name`` and an optional string ``schema``, return
1691 check constraint information as a list of dicts corresponding
1692 to the :class:`.ReflectedCheckConstraint` dictionary.
1693
1694 This is an internal dialect method. Applications should use
1695 :meth:`.Inspector.get_check_constraints`.
1696
1697 """
1698
1699 raise NotImplementedError()
1700
1701 def get_multi_check_constraints(
1702 self,

Calls

no outgoing calls