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

Method visit_drop_column_comment

lib/sqlalchemy/sql/compiler.py:7036–7039  ·  view source on GitHub ↗
(self, drop, **kw)

Source from the content-addressed store, hash-verified

7034 )
7035
7036 def visit_drop_column_comment(self, drop, **kw):
7037 return "COMMENT ON COLUMN %s IS NULL" % self.preparer.format_column(
7038 drop.element, use_table=True
7039 )
7040
7041 def visit_set_constraint_comment(self, create, **kw):
7042 raise exc.UnsupportedCompilationError(self, type(create))

Callers

nothing calls this directly

Calls 1

format_columnMethod · 0.80

Tested by

no test coverage detected