• Start

Overview

Querying

Query SurrealDB with SurrealQL, SDKs or GraphQL—SQL-like syntax with graphs, links and practical querying tips.

In this section we will learn about the multitude of ways to write and send queries to your SurrealDB database. The main focus is on the SurrealQL query language, which strongly resembles traditional SQL but differs in a number of ways to accomodate patterns such as graph traversal, record links, and other features unique to SurrealDB.

Queries can also be written without using direct SurrealQL through methods such as SDKs in your preferred programming language or GraphQL.

This section also includes tips and tricks to get the most out of your queries. For even more information after reading this section, feel free to look into the reference section of the documentation which has separate pages for each statement, data type, clause and more for the entire SurrealQL query language.

Was this page helpful?