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

Function plan_delete

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

Source from the content-addressed store, hash-verified

130}
131
132pub fn plan_delete(
133 scx: &StatementContext,
134 stmt: DeleteStatement<Aug>,
135 params: &Params,
136) -> Result<Plan, PlanError> {
137 let rtw_plan = query::plan_delete_query(scx, stmt)?;
138 plan_read_then_write(scx, MutationKind::Delete, params, rtw_plan)
139}
140
141pub fn describe_update(
142 scx: &StatementContext,

Callers 1

planFunction · 0.85

Calls 2

plan_delete_queryFunction · 0.85
plan_read_then_writeFunction · 0.85

Tested by

no test coverage detected