method MongoAdapter.prototype.assertConnected
MongoAdapter.prototype.assertConnected(): void

Asserts the adapter is connected before a data operation.

Return Type

void

Throws

Error

When the adapter is not connected

Usage

import { MongoAdapter } from "database-plugin/src/index.ts";