A structural subset of the driver's cursor returned from find().
toArray(): Promise<Record<string, unknown>[]>
Materializes the cursor's matching documents.
A structural subset of the driver's cursor returned from find().
toArray(): Promise<Record<string, unknown>[]>
Materializes the cursor's matching documents.
import { type IMongoCursor } from "database-plugin/src/index.ts";