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

Method visit_sequence

lib/sqlalchemy/sql/ddl.py:1054–1058  ·  view source on GitHub ↗
(self, sequence, create_ok=False)

Source from the content-addressed store, hash-verified

1052 AddConstraint(constraint)._invoke_with(self.connection)
1053
1054 def visit_sequence(self, sequence, create_ok=False):
1055 if not create_ok and not self._can_create_sequence(sequence):
1056 return
1057 with self.with_ddl_events(sequence):
1058 CreateSequence(sequence)._invoke_with(self.connection)
1059
1060 def visit_index(self, index, create_ok=False):
1061 if not create_ok and not self._can_create_index(index):

Callers

nothing calls this directly

Calls 4

_can_create_sequenceMethod · 0.95
CreateSequenceClass · 0.85
_invoke_withMethod · 0.80
with_ddl_eventsMethod · 0.45

Tested by

no test coverage detected