MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_create_schema

Method visit_create_schema

lib/sqlalchemy/sql/compiler.py:7046–7050  ·  view source on GitHub ↗
(self, create, **kw)

Source from the content-addressed store, hash-verified

7044 return self.sql_compiler.post_process_text(ddl.statement % context)
7045
7046 def visit_create_schema(self, create, **kw):
7047 text = "CREATE SCHEMA "
7048 if create.if_not_exists:
7049 text += "IF NOT EXISTS "
7050 return text + self.preparer.format_schema(create.element)
7051
7052 def visit_drop_schema(self, drop, **kw):
7053 text = "DROP SCHEMA "

Callers

nothing calls this directly

Calls 1

format_schemaMethod · 0.80

Tested by

no test coverage detected