.Connect()

Connects the client to the underlying endpoint, also improving performance to avoid cold starts.

Method Syntax

await db.Connect()

Arguments

ArgumentsDescription
cancellationToken The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

await db.Connect();