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

Method remove_prepared_statement

src/adapter/src/session.rs:670–672  ·  view source on GitHub ↗

Removes the prepared statement associated with `name`. Returns whether a statement previously existed.

(&mut self, name: &str)

Source from the content-addressed store, hash-verified

668 ///
669 /// Returns whether a statement previously existed.
670 pub fn remove_prepared_statement(&mut self, name: &str) -> bool {
671 self.prepared_statements.remove(name).is_some()
672 }
673
674 /// Removes all prepared statements.
675 pub fn remove_all_prepared_statements(&mut self) {

Callers 2

close_statementMethod · 0.80
sequence_planMethod · 0.80

Calls 2

is_someMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected