Glossary
A quick reference for MountSQLI terminology.
- API Reference — the index of package entry points.
- Auth — the
@mountsqli/authpackage (primitives +MountAuth).
- Builder — the
QueryBuilderthat produces aQueryPlan. Immutable.
- CacheBridge — sits between queries and the cache manager; handles reads/invalidation.
- ColumnBuilder — phantom-typed factory for a column (
int(),text(), …). - Compiler — turns a
QueryPlaninto{ sql, params, columnTypes }. - Config —
defineConfig({...}); the source of truth for theDb.
- Dialect — decides SQL dialect + parameter style (
?vs$N). - Driver — translates compiled SQL + params into rows. Thin transport.
- FilterNode — structured filter (
=,in,or,exists, …). What RLS compiles to.
- InferTable — derives the row type from a
Table. - IR (Intermediate Representation) — see
QueryPlan. - Immutable — builder methods fork a new plan; never mutate
this.
- Migration — a SQL step recorded in
_mount_migrations. - MockDriver — in-memory driver for plan-level unit tests.
- MountError — structured, user-facing error (
code+ sanitizedmessage).
- Policy — an RLS rule compiled into
FilterNode[]. - QueryPlan — the data structure describing a query. The central contract.
- RLS (Row-Level Security) — policies compiled into the plan as WHERE filters.
- RBAC — role-based access control (
Rbac).
- Schema — your
defineTabledefinitions. - Studio — the visual dashboard merged into
mountsqli dev.
- TokenStore — pluggable session storage (
Memory/Sqlite/Pg).
Best practices
Section titled “Best practices”- If a term is unfamiliar, find its page via the sidebar — most have a dedicated guide.
Related
Section titled “Related”- How MountSQLI Works — the concepts in context.
- API Reference — where to import each piece.
