
MountSQLI
Next-generation type-safe ORM & backend platform.
What is MountSQLI?
Section titled “What is MountSQLI?”MountSQLI is a compile-leaning ORM + backend engine. The ORM is a compiler + an intermediate representation (QueryPlan IR), not a class hierarchy. That makes it tree-shakeable, edge-ready, and near-zero-allocation where Prisma, Drizzle, and TypeORM cannot be.
- Native SQL first — the builder is a typed view over SQL, never a replacement.
- Type-safe everything — invalid queries are type errors, caught before runtime.
- Zero runtime cost where possible — IR/compiler over classes; tree-shake to the feature.
- Compile-time validation — no generators, no decorators, no bespoke schema language.
- AI native — AI-generated SQL goes through the same compiler validator as hand-written input.
Start here
Section titled “Start here”Quick StartRun your first type-safe query in five minutes.
Core ConceptsThe compiler + QueryPlan IR mental model.
SchemaDefine tables and infer row types at compile time.
Query BuilderSelect, insert, update, delete, joins, window functions.
Build a backend, not just an ORM
Section titled “Build a backend, not just an ORM”AuthPasswords, JWT, RBAC, RLS, OAuth with CSRF + PKCE.
APIREST, OpenAPI, and RPC codegen from QueryPlans.
StorageSigned URLs, versioning, S3 adapter.
RealtimeHub, presence, and live queries.
CacheL1/L2/query cache with tags and eviction.
AINatural language to SQL, explain and review.
Run it anywhere
Section titled “Run it anywhere”DriversSQLite, Postgres, and MySQL from one API.
CLIMigrate, dev server, and Studio in one binary.
StudioVisual dashboard merged into the dev server.
ArchitectureHow the compiler, IR, and drivers fit together.
