MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / create_seq

Method create_seq

test/dialect/mysql/test_query.py:131–141  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

129
130 @testing.fixture
131 def create_seq(self, connection):
132 seqs = set()
133
134 def go(seq):
135 seqs.add(seq)
136 connection.execute(CreateSequence(seq))
137
138 yield go
139
140 for seq in seqs:
141 connection.execute(DropSequence(seq, if_exists=True))
142
143 def test_has_sequence_and_exists_flag(self, connection, create_seq):
144 seq = Sequence("has_seq_test")

Callers

nothing calls this directly

Calls 2

DropSequenceClass · 0.90
executeMethod · 0.45

Tested by

no test coverage detected