SurrealQL is SurrealDB's query language. Syntax is broadly SQL-like, with extensions for nested fields, graph edges, record IDs, and other SurrealDB-specific constructs.
For a guided introduction, see Learn: Querying.
Examples
A minimal query can follow a familiar SQL shape:
Projections can include nested objects and graph traversals:
Further detail is organised under Statements and the other sections in this reference.