SurrealDB Docs Logo

Enter a search query

.Health()

Checks the status of the database server and storage engine.

Method Syntax
await db.Health()

Arguments

ArgumentsDescription
cancellationToken optional

The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

bool status = await db.Health();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install