Skip to content
Sign In

Methods

Use

Switch to a specific namespace and database.

Switch to a specific namespace and database.

Method Syntax
await db.Use(ns, db)

Arguments

Description

namespace

Switches to a specific namespace.

database

Switches to a specific database.

cancellationToken

The cancellationToken enables graceful cancellation of asynchronous operations.

await db.Use("main", "main");

Was this page helpful?