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

Method version

misc/python/materialize/optbench/sql.py:103–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 self.conn.close()
102
103 def version(self) -> str:
104 result = self.query_one("SELECT version()")
105 return cast(str, result[0])
106
107 def mz_version(self) -> str | None:
108 if self.dialect == Dialect.MZ:

Callers 2

__init__Method · 0.95
runFunction · 0.45

Calls 1

query_oneMethod · 0.95

Tested by

no test coverage detected