MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / execute

Method execute

core/state.py:415–422  ·  view source on GitHub ↗

Execute arbitrary SQL (for schema extensions).

(self, sql: str, params: tuple = None)

Source from the content-addressed store, hash-verified

413 return cur.rowcount > 0
414
415 def execute(self, sql: str, params: tuple = None):
416 """Execute arbitrary SQL (for schema extensions)."""
417 with self._lock:
418 if params:
419 self._conn.execute(sql, params)
420 else:
421 self._conn.execute(sql)
422 self._conn.commit()
423
424
425# Global state store instance (singleton)

Callers 15

__init__Method · 0.80
_init_schemaMethod · 0.80
getMethod · 0.80
setMethod · 0.80
deleteMethod · 0.80
get_allMethod · 0.80
add_taskMethod · 0.80
get_taskMethod · 0.80
get_next_pendingMethod · 0.80
try_claim_taskMethod · 0.80
start_taskMethod · 0.80
complete_taskMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected