MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_temp_table_names

Method get_temp_table_names

lib/sqlalchemy/engine/reflection.py:631–646  ·  view source on GitHub ↗

r"""Return a list of temporary table names for the current bind. This method is unsupported by most dialects; currently only Oracle Database, PostgreSQL and SQLite implements it. :param \**kw: Additional keyword argument to pass to the dialect specific implementati

(self, **kw: Any)

Source from the content-addressed store, hash-verified

629 return ret + [(None, list(remaining_fkcs))]
630
631 def get_temp_table_names(self, **kw: Any) -> List[str]:
632 r"""Return a list of temporary table names for the current bind.
633
634 This method is unsupported by most dialects; currently
635 only Oracle Database, PostgreSQL and SQLite implements it.
636
637 :param \**kw: Additional keyword argument to pass to the dialect
638 specific implementation. See the documentation of the dialect
639 in use for more information.
640
641 """
642
643 with self._operation_context() as conn:
644 return self.dialect.get_temp_table_names(
645 conn, info_cache=self.info_cache, **kw
646 )
647
648 def get_temp_view_names(self, **kw: Any) -> List[str]:
649 r"""Return a list of temporary view names for the current bind.

Callers

nothing calls this directly

Calls 1

_operation_contextMethod · 0.95

Tested by

no test coverage detected