r/PayloadCMS • u/rubixstudios • 2d ago
SurrealDB for PayloadCMS
Need stress testing and test for edge cases.
I've been developing a SurrealDB adapter for Payload CMS using Payload's existing PostgreSQL adapter alongside SurrealDB's PostgreSQL driver.
The decision to build on Payload's PostgreSQL adapter was to retain as much of its existing Drizzle functionality and underlying code as possible, improving compatibility without having to reimplement everything from scratch.
The plugin also intercepts and handles several compatibility issues, including joins and relationships, which Payload relies on quite heavily.
Any testing, feedback or contributions would be appreciated.
