MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _run_ddl_visitor

Method _run_ddl_visitor

lib/sqlalchemy/engine/base.py:3228–3235  ·  view source on GitHub ↗
(
        self,
        visitorcallable: Type[InvokeDDLBase],
        element: SchemaVisitable,
        **kwargs: Any,
    )

Source from the content-addressed store, hash-verified

3226 yield conn
3227
3228 def _run_ddl_visitor(
3229 self,
3230 visitorcallable: Type[InvokeDDLBase],
3231 element: SchemaVisitable,
3232 **kwargs: Any,
3233 ) -> None:
3234 with self.begin() as conn:
3235 conn._run_ddl_visitor(visitorcallable, element, **kwargs)
3236
3237 def connect(self) -> Connection:
3238 """Return a new :class:`_engine.Connection` object.

Callers 10

createMethod · 0.45
dropMethod · 0.45
createMethod · 0.45
dropMethod · 0.45
createMethod · 0.45
dropMethod · 0.45
createMethod · 0.45
dropMethod · 0.45
create_allMethod · 0.45
drop_allMethod · 0.45

Calls 1

beginMethod · 0.95

Tested by

no test coverage detected