query

suspend fun Surreal.query(queryText: String, bindings: List<Bind>): List<QueryResponse>
suspend fun Surreal.query(queryText: String, vararg bindings: Bind): List<QueryResponse>

Query

This method executes a custom query against SurrealDB

Return

The result of the query

Parameters

queryText

The query to execute against SurrealDB

bindings

A set of variables used by the query