Expand description
AST-to-VDBE bytecode compilation (§10.6).
Translates parsed SQL statements into VDBE register-based instructions
using the ProgramBuilder from fsqlite-types. Handles SELECT, INSERT,
UPDATE, and DELETE with correct opcode patterns matching C SQLite behavior.
Structs§
- Codegen
Context - Configuration for the code generator.
- Column
Info - Column metadata needed by the code generator.
- Index
Schema - Index metadata needed for codegen (index-scan SELECT).
- Table
Schema - Minimal table schema needed by the code generator.
Enums§
- Codegen
Error - Errors during code generation.
Functions§
- codegen_
delete - Generate VDBE bytecode for a DELETE statement.
- codegen_
insert - Generate VDBE bytecode for an INSERT statement.
- codegen_
select - Generate VDBE bytecode for a SELECT statement.
- codegen_
update - Generate VDBE bytecode for an UPDATE statement.