feat: add the SQLite database adapter #4

Merged
aleksei merged 1 commit from feat/sqlite-db-adapter into main 2026-10-20 13:25:55 +00:00
Owner

Adds eve_db_sqlite with SqliteDbUnit and SqliteDbProvisorUnit.

  • one table per entity: id, cd, ud, JSON data
  • FIQL to SQLite JSON queries, case-insensitive sorting, nested include/exclude projections
  • WAL, synchronous=FULL, one connection for the single-process profile
  • one transaction per apply batch with per-index constraint failures
  • expression indexes from provision.db.indexes
  • JSONL backup in the MongoDB document shape
  • SQLite integration tests in eve_e2e/tests/sqlite.rs with temporary databases
  • ADR adr/sqlite.md and package/README updates

Tests:

  • cargo test -p eve_db_sqlite
  • cargo test -p eve_e2e --test sqlite
  • cargo clippy -p eve_db_sqlite -p eve_e2e --tests -- -D warnings
Adds `eve_db_sqlite` with `SqliteDbUnit` and `SqliteDbProvisorUnit`. - one table per entity: `id`, `cd`, `ud`, JSON `data` - FIQL to SQLite JSON queries, case-insensitive sorting, nested include/exclude projections - WAL, `synchronous=FULL`, one connection for the single-process profile - one transaction per `apply` batch with per-index constraint failures - expression indexes from `provision.db.indexes` - JSONL backup in the MongoDB document shape - SQLite integration tests in `eve_e2e/tests/sqlite.rs` with temporary databases - ADR `adr/sqlite.md` and package/README updates Tests: - `cargo test -p eve_db_sqlite` - `cargo test -p eve_e2e --test sqlite` - `cargo clippy -p eve_db_sqlite -p eve_e2e --tests -- -D warnings`
aleksei deleted branch feat/sqlite-db-adapter 2026-10-20 13:25:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/eve!4
No description provided.