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

Method first

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

The first positional argument, if any (the `*` form has none).

(&self)

Source from the content-addressed store, hash-verified

1434
1435 /// The first positional argument, if any (the `*` form has none).
1436 pub fn first(&self) -> Option<&Expr<T>> {
1437 match self {
1438 FunctionArgs::Star => None,
1439 FunctionArgs::Args { args, .. } => args.first(),
1440 }
1441 }
1442
1443 /// Returns the number of arguments. Star (`*`) is None.
1444 pub fn len(&self) -> Option<usize> {

Callers 15

platform.spec.tsFile · 0.45
assertNoErrorsFunction · 0.45
signInFunction · 0.45
measureUntilVisibleFunction · 0.45
page-load.spec.tsFile · 0.45
memory.spec.tsFile · 0.45
claimsMethod · 0.45
undistribute_and_orMethod · 0.45
array_create_multidimFunction · 0.45
guess_best_common_typeFunction · 0.45
inventFunction · 0.45

Calls

no outgoing calls

Tested by 4

measureUntilVisibleFunction · 0.36
await_dataFunction · 0.36