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

Method len

src/sql-parser/src/ast/defs/expr.rs:1444–1449  ·  view source on GitHub ↗

Returns the number of arguments. Star (`*`) is None.

(&self)

Source from the content-addressed store, hash-verified

1442
1443 /// Returns the number of arguments. Star (`*`) is None.
1444 pub fn len(&self) -> Option<usize> {
1445 match self {
1446 FunctionArgs::Star => None,
1447 FunctionArgs::Args { args, .. } => Some(args.len()),
1448 }
1449 }
1450
1451 /// Prints associated keywords before each argument
1452 fn intersperse_function_argument_keywords<W: fmt::Write>(

Callers 15

snapshotMethod · 0.45
try_from_bytesMethod · 0.45
handle_requestMethod · 0.45
data_col_updatedMethod · 0.45
get_min_lsnsFunction · 0.45
pretty_strFunction · 0.45
doc_functionMethod · 0.45
lex_opFunction · 0.45
parse_any_allMethod · 0.45

Calls

no outgoing calls