MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_drop_column_comment

Method visit_drop_column_comment

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

Source from the content-addressed store, hash-verified

7319 )
7320
7321 def visit_drop_column_comment(self, drop, **kw):
7322 return "COMMENT ON COLUMN %s IS NULL" % self.preparer.format_column(
7323 drop.element, use_table=True
7324 )
7325
7326 def visit_set_constraint_comment(self, create, **kw):
7327 raise exc.UnsupportedCompilationError(self, type(create))

Callers

nothing calls this directly

Calls 1

format_columnMethod · 0.80

Tested by

no test coverage detected