Documentation / ORM & Database / ORM & Database
ORM & Database
Runique uses SeaORM with a Django-like manager provided through the impl_objects! macro.
| Module | Description |
|---|---|
| Manager & helpers | impl_objects!, all(), filter(), get(), get_or_404(), FormEntity |
| CRUD Queries | SELECT, INSERT, UPDATE, DELETE, COUNT, search! |
| Advanced | Transactions, relations, full CRUD pattern |
Form integration:
#[form(schema = …)]ties the form to its model module's entity automatically (schema = blog→blog::Entity), which givesForm::objectsandsearch!(@Form => ...). See Forms — entity link.