datrix
/docsv0.2.0
GitHub
Getting Started
ConfigurationYour First SchemaFirst MigrationBasic CRUD
Core
SetupSchemaQueryHow It WorksRelationsInterfacesTypes
Adapters
PostgreSQLMySQLPostgreSQL (core)MongoDBJSON
API
CRUDAuthUpload
Plugins
Writing Plugins
CLI

Adapters

Adapters translate Datrix's database-agnostic QueryObject into database-specific queries. Pass an adapter instance to adapter in defineConfig().


PostgreSQL

Production-ready. Full SQL support including transactions and migrations. Uses pg under the hood.

PostgreSQL (core)

Driver-agnostic variant — no pg dependency. Bring your own driver (pg, postgres.js, Neon serverless, etc.). Useful for serverless/edge environments.

MySQL

Production-ready. Works with MySQL 8+ and MariaDB 10.5+.

MongoDB

Requires a replica set for transactions.

JSON

File-based. For development and testing only.

Edit this page on GitHub
← PreviousTypesNext →PostgreSQL
© 2026 datrix — MIT License · Built by myniqx.dev
GitHub·v0.2.0