MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / execute_one

Function execute_one

test/cluster-spec-sheet/mzcompose.py:2304–2306  ·  view source on GitHub ↗
(stmt: str)

Source from the content-addressed store, hash-verified

2302 log_every = max(1, total // 10)
2303
2304 def execute_one(stmt: str) -> None:
2305 with runner.connection as cur:
2306 cur.execute(stmt.encode())
2307
2308 start = time.time()
2309 for i, stmt in enumerate(statements, 1):

Callers 1

_bulk_runFunction · 0.85

Calls 2

executeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected