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

Method is_empty

src/sql-parser/src/ast/defs/query.rs:367–372  ·  view source on GitHub ↗

True if there are no bindings in the block.

(&self)

Source from the content-addressed store, hash-verified

365 }
366 /// True if there are no bindings in the block.
367 pub fn is_empty(&self) -> bool {
368 match self {
369 CteBlock::Simple(list) => list.is_empty(),
370 CteBlock::MutuallyRecursive(list) => list.ctes.is_empty(),
371 }
372 }
373 /// Iterates through the identifiers used in bindings.
374 pub fn bound_identifiers(&self) -> impl Iterator<Item = &Ident> {
375 let mut names = Vec::new();

Callers 15

connectMethod · 0.45
newMethod · 0.45
create_savepointMethod · 0.45
handle_requestMethod · 0.45
parse_lsnFunction · 0.45
doc_create_sourceMethod · 0.45
doc_webhook_checkMethod · 0.45
doc_create_tableMethod · 0.45

Calls

no outgoing calls

Tested by 4

parse_lsnFunction · 0.36