Search the docs
Methods
The .NET SDK for SurrealDB enables simple and advanced querying of a remote or embedded database.
Retrieves the version of the SurrealDB instance.
await db.Version()
Arguments
Description
cancellationToken
The cancellationToken enables graceful cancellation of asynchronous operations.
string version = await db.Version(); // Will return "surrealdb-1.1.1"
Was this page helpful?
Previous
Use
Next
SDK methods