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

Function plan_update

src/sql/src/plan/statement/dml.rs:149–156  ·  view source on GitHub ↗
(
    scx: &StatementContext,
    stmt: UpdateStatement<Aug>,
    params: &Params,
)

Source from the content-addressed store, hash-verified

147}
148
149pub fn plan_update(
150 scx: &StatementContext,
151 stmt: UpdateStatement<Aug>,
152 params: &Params,
153) -> Result<Plan, PlanError> {
154 let rtw_plan = query::plan_update_query(scx, stmt)?;
155 plan_read_then_write(scx, MutationKind::Update, params, rtw_plan)
156}
157
158pub fn plan_read_then_write(
159 scx: &StatementContext,

Callers 1

planFunction · 0.85

Calls 2

plan_update_queryFunction · 0.85
plan_read_then_writeFunction · 0.85

Tested by

no test coverage detected