Database adapter that runs Payload on SurrealDB through its PostgreSQL-compatible SQL interface
SurrealDB Adapter
Stores Payload collections and globals in SurrealDB as schemaless documents
Installation
pnpm add payload-db-surrealdb About
SurrealDB Adapter lets Payload keep its collections, globals, versions and auth data in SurrealDB instead of a SQL or MongoDB database. Documents are schemaless, so content models can change without generating relational table migrations, and the same records stay queryable by other services. Relationships, uploads, localized fields, drafts and autosave all work against the adapter. Writes made during a request are committed together, and migrations are lightweight data steps rather than full schema diffs.
Package info
- Package name
payload-db-surrealdb- Latest version
0.2.0- Unpacked size
- 33 kB
- License
- MIT
- Weekly downloads
- 5
- Last publish
- May 14, 2026
Similar adapters
More in DatabaseStores Payload data in a Postgres database, with migrations and read replica support
Vercel Postgres database adapter that stores Payload collections and globals in Postgres
Stores Payload data in Cloudflare D1 SQLite databases from Workers
Stores Payload collections and globals in a MongoDB database
Official SQLite database adapter that stores Payload collections and globals in SQLite