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

Method visit_drop_sequence

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

Source from the content-addressed store, hash-verified

7078 return text
7079
7080 def visit_drop_sequence(self, drop, **kw):
7081 text = "DROP SEQUENCE "
7082 if drop.if_exists:
7083 text += "IF EXISTS "
7084 return text + self.preparer.format_sequence(drop.element)
7085
7086 def visit_drop_constraint(self, drop, **kw):
7087 constraint = drop.element

Callers

nothing calls this directly

Calls 1

format_sequenceMethod · 0.80

Tested by

no test coverage detected