Skip to main content

Module db

Module db 

Source
Expand description

Storage core: catalog, tables, rows, and constraint enforcement.

Rows live in a slot array (Vec<Option<Row>>) so row ids stay stable across deletes; tombstones are skipped during scans. PRIMARY KEY / UNIQUE constraints are enforced through hand-written B+trees keyed by (Value, rid).

Structs§

Column
DbError
Index
State
A snapshot of the whole database, shared by readers and swapped on commit.
Table

Enums§

DbErrorKind
StatementResult
Result payload of an executed statement.

Functions§

dberr

Type Aliases§

Row