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

Method borrow

src/sql/src/session/vars.rs:170–175  ·  view source on GitHub ↗

Converts this owned variable input as a [`VarInput`].

(&self)

Source from the content-addressed store, hash-verified

168impl OwnedVarInput {
169 /// Converts this owned variable input as a [`VarInput`].
170 pub fn borrow(&self) -> VarInput<'_> {
171 match self {
172 OwnedVarInput::Flat(v) => VarInput::Flat(v),
173 OwnedVarInput::SqlSet(v) => VarInput::SqlSet(v),
174 }
175 }
176}
177
178/// A `Var` represents a configuration parameter of an arbitrary type.

Callers 8

plan_parameterFunction · 0.45
plan_exprsFunction · 0.45
relation_typeMethod · 0.45
column_typeMethod · 0.45
plan_create_viewFunction · 0.45
collect_errorMethod · 0.45

Calls 1

SqlSetClass · 0.50

Tested by

no test coverage detected