Skip to main content

Embedding in Deno

SurrealDB is designed to be run in many different ways, and environments. Due to the separation of the storage and compute layers, SurrealDB can be run in embedded mode, from within a number of different language environments. In Deno, SurrealDB can be run as an in-memory database, or it can persist data using a file-based storage engine.

The documentation for embedding SurrealDB within Deno has not yet been released. In the meantime, please refer to the Deno client SDK documentation to get started with connecting to SurrealDB from Deno.