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

Method get_table_names

lib/sqlalchemy/dialects/sqlite/base.py:2294–2301  ·  view source on GitHub ↗
(
        self, connection, schema=None, sqlite_include_internal=False, **kw
    )

Source from the content-addressed store, hash-verified

2292
2293 @reflection.cache
2294 def get_table_names(
2295 self, connection, schema=None, sqlite_include_internal=False, **kw
2296 ):
2297 query = self._sqlite_main_query(
2298 "sqlite_master", "table", schema, sqlite_include_internal
2299 )
2300 names = connection.exec_driver_sql(query).scalars().all()
2301 return names
2302
2303 @reflection.cache
2304 def get_temp_table_names(

Callers

nothing calls this directly

Calls 4

_sqlite_main_queryMethod · 0.95
allMethod · 0.45
scalarsMethod · 0.45
exec_driver_sqlMethod · 0.45

Tested by

no test coverage detected