MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / exists

Method exists

test/sql/test_ddlemit.py:182–186  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

180 m, t1, i1 = self._table_index_fixture()
181
182 def exists(name):
183 if name == "my_idx":
184 raise NotImplementedError()
185 else:
186 return False
187
188 generator = self._mock_create_fixture(True, [t1], item_exists=exists)
189 self._assert_create([t1, i1], generator, t1)

Callers 15

apply_pytest_optsFunction · 0.45
test_exists_methodMethod · 0.45
test_select_fromFunction · 0.45
orm2010.pyFile · 0.45
run_with_profileFunction · 0.45
_run_doctest_implMethod · 0.45
test_to_query_queryMethod · 0.45
test_existsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected