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

Method get_multi_table_comment

lib/sqlalchemy/engine/interfaces.py:1827–1853  ·  view source on GitHub ↗

Return information about the table comment in all tables in the given ``schema``. This is an internal dialect method. Applications should use :meth:`_engine.Inspector.get_multi_table_comment`. .. note:: The :class:`_engine.DefaultDialect` provides a default

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

Source from the content-addressed store, hash-verified

1825 raise NotImplementedError()
1826
1827 def get_multi_table_comment(
1828 self,
1829 connection: Connection,
1830 *,
1831 schema: Optional[str] = None,
1832 filter_names: Optional[Collection[str]] = None,
1833 **kw: Any,
1834 ) -> Iterable[Tuple[TableKey, ReflectedTableComment]]:
1835 """Return information about the table comment in all tables
1836 in the given ``schema``.
1837
1838 This is an internal dialect method. Applications should use
1839 :meth:`_engine.Inspector.get_multi_table_comment`.
1840
1841 .. note:: The :class:`_engine.DefaultDialect` provides a default
1842 implementation that will call the single table method for
1843 each object returned by :meth:`Dialect.get_table_names`,
1844 :meth:`Dialect.get_view_names` or
1845 :meth:`Dialect.get_materialized_view_names` depending on the
1846 provided ``kind``. Dialects that want to support a faster
1847 implementation should implement this method.
1848
1849 .. versionadded:: 2.0
1850
1851 """
1852
1853 raise NotImplementedError()
1854
1855 def normalize_name(self, name: str) -> str:
1856 """convert the given name to lowercase if it is detected as

Calls

no outgoing calls