• Start

Languages

/

.NET

/

Methods

Use

The .NET SDK for SurrealDB enables simple and advanced querying of a remote or embedded database.

Switch to a specific namespace and database.

Method Syntax

await db.Use(ns, db)
ArgumentsDescription
namespace Switches to a specific namespace.
database Switches to a specific database.
cancellationToken The cancellationToken enables graceful cancellation of asynchronous operations.
await db.Use("test", "test");

Was this page helpful?