Skip to main content

Module orm

Module orm 

Source
Expand description

PostgreSQL-backed ORM. A thin shim over sqlx — Db, Model, Value, Row — and a handful of generic CRUD helpers. Hand-written impl Model is the contract; users keep writing SQL where it matters.

Structs§

Db
Shared handle to the database. Cheap to clone; every handler gets its own clone.
DbOptions
Row

Enums§

Value
The value types the framework understands. Kept small on purpose.

Traits§

Model

Functions§

all
count
create
delete
find
page
update