Skip to content

IDatabase.Query method

Runs a set of SurrealQL statements against the database.

public Task<DriverResponse> Query(string sql, IReadOnlyDictionary<string, object?>? vars = null, 
    CancellationToken ct = default)
parameter description
sql Specifies the SurrealQL statements.
vars Assigns variables which can be used in the query.
ct

See Also