MCPcopy
hub / github.com/saltstack/salt / _connect

Function _connect

salt/modules/sqlite3.py:24–30  ·  view source on GitHub ↗
(db=None)

Source from the content-addressed store, hash-verified

22
23
24def _connect(db=None):
25 if db is None:
26 return False
27
28 con = sqlite3.connect(db, isolation_level=None)
29 cur = con.cursor()
30 return cur
31
32
33def version():

Callers 4

modifyFunction · 0.70
fetchFunction · 0.70
tablesFunction · 0.70
indicesFunction · 0.70

Calls 2

cursorMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected