MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_drop_sequence

Method visit_drop_sequence

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

Source from the content-addressed store, hash-verified

7363 return text
7364
7365 def visit_drop_sequence(self, drop, **kw):
7366 text = "DROP SEQUENCE "
7367 if drop.if_exists:
7368 text += "IF EXISTS "
7369 return text + self.preparer.format_sequence(drop.element)
7370
7371 def visit_drop_constraint(self, drop, **kw):
7372 constraint = drop.element

Callers

nothing calls this directly

Calls 1

format_sequenceMethod · 0.80

Tested by

no test coverage detected