SurrealDB
SurrealDB Docs Logo

Enter a search query

Navigation

.Version()

Retrieves the version of the SurrealDB instance.

Method Syntax
await db.Version()

Arguments

ArgumentsDescription
cancellationToken optional

The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

string version = await db.Version(); // Will return "surrealdb-1.1.1"
Edit this page on GitHub