Section Overview
Persistence
Attribute-mapped resources, repositories, filtering, pagination, and relations with real demo data.
Support Semitexa
Built for developers who prefer control over magic.
Your support helps keep it fast, open, and evolving.
Route Map
Each feature page pairs live output with the source that produced it.
Modeling & Workflow
3Persistence
Domain-Level Models
Semitexa separates persistence resources from business models. Resources map tables; domain models carry behavior and invariants.
Persistence
Repository Workflow
The canonical Semitexa path: handlers depend on repository contracts, repositories return domain models, and persistence resources stay behind the boundary.
Persistence
Schema Sync, Not Migration Churn
Semitexa creates SQL only when the real schema changed, blocks destructive drops by default, and logs the exact DDL plan as SQL and JSON.
Querying
6Persistence
Query Builder
Compose type-safe queries with a fluent API — no raw SQL, no magic strings.
Persistence
Filtering
Mark a property #[Filterable] and the ORM handles the rest — no manual WHERE clauses.
Persistence
Pagination
Offset and cursor pagination out of the box — switch modes with a single query parameter.
Persistence
Relations
Declare parent and child links on the resource itself, then read typed relations from the handler.
Persistence
Shared Table Extension
Two modules can extend one table independently, and the ORM merges the schema without forcing either side to edit the other.
Persistence
N+1 Without Magic
Semitexa avoids N+1 by using resource slices for the exact columns and relations each screen needs, instead of hiding database traffic behind implicit relation loading.