arcature-data 2026.2.0

Arcature high-level data layer: explicit-ownership model/query ergonomics over SeaORM/SQLx, N+1 detection, and migration lint.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The explicit-ownership model/query layer over SeaORM (PROGRAM.md AP2.1-6).
//!
//! One responsibility per file (AGENTS.md §1):
//!
//! - [`builder`] — the typed [`Query<E>`] and the blanket [`QueryModel`] trait.
//! - [`paginate`] — the typed [`Page<T>`] / [`Paginated`] pagination.
//! - [`relation`] — eager loading of typed relations.
//! - [`crud`] — insert/update/delete and primary-key lookup, explicit `&Db`.

mod builder;
mod crud;
mod paginate;
mod relation;

pub use builder::{Query, QueryModel};
pub use crud::{delete, find_by_pk, insert, update};
pub use paginate::{Page, Paginated};
pub use relation::{Relation, of};