method IMongoDatabase.collection
IMongoDatabase.collection(name: string): IMongoCollection

Returns the collection named name.

Parameters

name: string

The collection name

Return Type

Usage

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