/sql
POST {{endpoint}}/sql
The SQL endpoint enables running advanced SurrealQL queries. This HTTP endpoint expects the HTTP body to be one or more SurrealQL statements, separated by a semicolon.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | Sets the desired content-type of the response | |
NS | string | Sets the selected Namespace for queries | |
DB | string | Sets the selected Database for queries |