Home
Community
Careers
Meet the team
Blog
Product
Install
Products
Features
Releases
Documentation
Community
GitHub
Discord
X
YouTube
LinkedIn
Reddit
Instagram
Stack Overflow
Threads
Medium
Dev
Click here to sign up to SurrealDB Cloud
Home
Community
Products
Careers
Features
Releases
Install
Docs
Blog
Star us on GitHub
Back to top
Overview
Introduction
Overview
Getting started
Concepts
Features
Releases
Architecture
SurrealDB for MongoDB developers
SurrealDB for SQL developers
SurrealDB for Neo4j developers
Installation
Overview
Install on macOS
Install on Linux
Install on Windows
Install the Nightly
Run with Docker
Run an in-memory server
Run a disk-based server
Run a multi-node cluster
Upgrading
Upgrade beta-9 to beta-10
Upgrade beta-8 to beta-9
SurrealQL
Overview
Demo Data
Data model
Overview
Record IDs
Basic types
Strings
Numbers
Datetimes
Formatters
Objects
Arrays
Geometries
Record links
Futures
Casting
Statements
Overview
USE
LET
BEGIN
CANCEL
COMMIT
IF ELSE
FOR
BREAK
CONTINUE
SELECT
LIVE SELECT
KILL
INSERT
CREATE
UPDATE
RELATE
RETURN
DELETE
DEFINE
DEFINE NAMESPACE
DEFINE DATABASE
DEFINE USER
DEFINE TOKEN
DEFINE SCOPE
DEFINE TABLE
DEFINE EVENT
DEFINE FUNCTION
DEFINE FIELD
DEFINE ANALYZER
DEFINE INDEX
DEFINE PARAM
REMOVE
INFO
SHOW
SLEEP
THROW
Functions
Overview
Array functions
Count function
Crypto functions
Duration functions
Geo functions
HTTP functions
Math functions
Meta functions
Parse functions
Rand functions
Search functions
Session functions
Sleep function
String functions
Time functions
Type functions
Scripting functions
Overview
Arguments
Built-in functions
Context
Type conversion
SurrealQL functions
Vector functions
Operators
Parameters
Transactions
Comments
Security
Overview
Authentication
System users
Scope users
Capabilities
Full list
Guest access
Functions
Network
Deployment
Overview
Deploy on Fly.io
Deploy on Kubernetes
Deploy on AWS
Deploy on GCP
Deploy on Heroku
Deploy on DigitalOcean
Embedding
Embedding in Rust
Embedding in Node.js
Embedding in JavaScript
Embedding in Python
Integration
Overview
SDKs
HTTP & Rest
Websockets
Text protocol
Binary protocol
CLI tool
Overview
Start command
Import command
Export command
Backup command
Version command
Isready command
Validate command
SQL command
Upgrade command
Help command
FAQs