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

Method index

src/sql/src/func.rs:663–668  ·  view source on GitHub ↗
(&self, i: usize)

Source from the content-addressed store, hash-verified

661 type Output = ParamType;
662
663 fn index(&self, i: usize) -> &Self::Output {
664 match self {
665 Self::Exact(p) => &p[i],
666 Self::Variadic { leading, trailing } => leading.get(i).unwrap_or(trailing),
667 }
668 }
669}
670
671/// Provides a shorthand function for writing `ParamList::Exact`.

Callers 15

render_upload_operatorFunction · 0.45
render_discover_objectsFunction · 0.45
render_split_workFunction · 0.45
render_fetch_workFunction · 0.45
backpressureFunction · 0.45
build_ingestion_dataflowFunction · 0.45
run_workerMethod · 0.45
health_operatorFunction · 0.45
health_operator_runnerFunction · 0.45
producerFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected