Skip to main content

Module sql

Module sql 

Source
Expand description

Parameterized SQL compilation for fixed and variable-length query patterns.

Structs§

CompileOptions
Runtime options injected by the caller to scope and cap query execution.
CompiledQuery
Parameterized read-only SQL plus the metadata required to decode its result.
QueryMailboxScope
Caller-derived mailbox partition applied by compile_with_mailbox.
TruncationCheck
Instructions for stripping a row-cap sentinel after execution.

Functions§

compile
Compiles query to parameterized, read-only SQL under opts.
compile_with_mailbox
Compiles under a caller-derived message partition before matching and paging.