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

Method execute_all

misc/python/materialize/optbench/sql.py:130–133  ·  view source on GitHub ↗
(self, statements: list[str])

Source from the content-addressed store, hash-verified

128 cursor.execute(statement.encode())
129
130 def execute_all(self, statements: list[str]) -> None:
131 with self.conn.cursor() as cursor:
132 for statement in statements:
133 cursor.execute(statement.encode())
134
135 def query_one(self, query: str) -> dict[Any, Any]:
136 with self.conn.cursor() as cursor:

Callers 1

initFunction · 0.80

Calls 3

cursorMethod · 0.80
executeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected