pub fn codegen_delete(
b: &mut ProgramBuilder,
stmt: &DeleteStatement,
schema: &[TableSchema],
_ctx: &CodegenContext,
) -> Result<(), CodegenError>Expand description
Generate VDBE bytecode for a DELETE statement.
Pattern: DELETE FROM t WHERE rowid = ?
Init → Transaction(write) → Variable → OpenWrite → NotExists → Delete → Close → Halt