Skip to content
Sign In

Methods

Version

Retrieves the version of the SurrealDB instance.

Retrieves the version of the SurrealDB instance.

Method Syntax
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?