graphitesql 0.0.0

A pure, safe, no_std Rust re-implementation of SQLite, compatible with the SQLite 3 file format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! B-tree layer: the table and index trees that hold all user data.
//!
//! Built on the [`pager`](crate::pager), this module parses b-tree pages
//! ([`page`]) and provides cursors ([`cursor`]) that iterate and seek within a
//! tree. It deals in raw record *payloads* (byte slices); turning a payload into
//! typed column [`Value`](crate::Value)s is the `format::record` layer's job
//! (Phase 3).
//!
//! This phase is read-only. Insertion, deletion, and page balancing arrive in
//! Phase 6.

pub mod cursor;
pub mod page;

pub use cursor::{IndexCursor, TableCursor};
pub use page::{BtreePage, IndexCell, PageType, Payload, TableLeafCell};