SurrealDB Docs Logo

Enter a search query

.Version()

Retrieves the version of the SurrealDB instance.

Method Syntax
db.Version()

Arguments

ArgumentsDescription
cancellationToken optional

The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

version := db.Version()

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install