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

Function execute_expr_context

src/sql/src/plan/query.rs:1319–1330  ·  view source on GitHub ↗

Returns an `ExprContext` for the expressions in the parameters of an EXECUTE statement.

(qcx: &'a QueryContext<'a>)

Source from the content-addressed store, hash-verified

1317
1318/// Returns an `ExprContext` for the expressions in the parameters of an EXECUTE statement.
1319pub(crate) fn execute_expr_context<'a>(qcx: &'a QueryContext<'a>) -> ExprContext<'a> {
1320 ExprContext {
1321 qcx,
1322 name: "EXECUTE",
1323 scope: &EXECUTE_CONTEXT_SCOPE,
1324 relation_type: &EXECUTE_CONTEXT_REL_TYPE,
1325 allow_aggregates: false,
1326 allow_subqueries: false,
1327 allow_parameters: false,
1328 allow_windows: false,
1329 }
1330}
1331
1332/// The CastContext used when matching up the types of parameters passed to EXECUTE.
1333///

Callers 2

plan_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected