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

Method exists

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

Source from the content-addressed store, hash-verified

150 m, t1, i1 = self._table_index_fixture()
151
152 def exists(name):
153 if name == "my_idx":
154 raise NotImplementedError()
155 else:
156 return False
157
158 generator = self._mock_create_fixture(True, [t1], item_exists=exists)
159 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_doctestMethod · 0.45
test_to_query_queryMethod · 0.45
test_existsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected