This section covers what SurrealDB does and how to tell it what you want. It is the conceptual half of the documentation: each page explains a mechanism and shows it working, rather than listing every option. The exhaustive syntax lives in the reference.


Querying
Mutate and query your data with SurrealQL, the SDKs, or GraphQL.


Schema management
Define namespaces, tables, fields, indexes, events and functions.


Data models
Store documents, graphs, vectors, time series and geospatial data in one engine.


Security
Authentication, access methods, row-level permissions and capabilities.


Extensions
Extend the database with custom functions, modules and WASM plugins.


SurrealDB Agent Memory
The memory and knowledge layer for AI agents, built on SurrealDB.
Where to start
Reading order depends on what you are building. For an application backend, querying then schema management covers most of what you need. For a data model that spans relations and graph edges, start at data models. Anything that will hold user data wants security before it ships.