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

Method stmt

src/adapter/src/session.rs:962–964  ·  view source on GitHub ↗

Returns the AST associated with this prepared statement, if the prepared statement was not the empty query.

(&self)

Source from the content-addressed store, hash-verified

960 /// Returns the AST associated with this prepared statement,
961 /// if the prepared statement was not the empty query.
962 pub fn stmt(&self) -> Option<&Statement<Raw>> {
963 self.stmt.as_ref()
964 }
965
966 /// Returns the description of the prepared statement.
967 pub fn desc(&self) -> &StatementDesc {

Callers 5

bindMethod · 0.80
sequence_executeMethod · 0.80
execute_stmtFunction · 0.80

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected