interface IMongoCursor

A structural subset of the driver's cursor returned from find().

Methods

toArray(): Promise<Record<string, unknown>[]>

Materializes the cursor's matching documents.

Usage

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