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

Function query_ok

test/sql-feature-flags/mzcompose.py:78–85  ·  view source on GitHub ↗

Generate a TD command that asserts that a query does not fail.

(query: str)

Source from the content-addressed store, hash-verified

76
77
78def query_ok(query: str) -> str:
79 """Generate a TD command that asserts that a query does not fail."""
80 return "\n".join(
81 [
82 "$ postgres-execute connection=user",
83 query.strip(),
84 ]
85 )
86
87
88def alter_system_set(name: str, value: str) -> str:

Callers 4

phase1Method · 0.85
phase2Method · 0.85
phase3Method · 0.85
reset_allMethod · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected