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.


Database basics
Records, queries, data models, transactions and schemas, for readers new to databases.


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.


Tutorials and demos
Step-by-step tutorials, finished demos and the showcase.


Extensions
Extend the database with custom functions and modules through WASM extensions.
Beyond the database
The memory layer for AI agents and the community projects sit beside the database sections.
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. If you have not used a database before, database basics explains the ideas that the other sections build on.
