import { Collection } from "https://deno.land/x/mongo@v0.33.0/src/collection/collection.ts";
A collection within a MongoDB Database
Constructors
Type Parameters
Methods
Perform aggregation on the collection
Count the number of documents matching the given filter
Create an index on the collection
Delete multiple documents matching the given filter
Delete a single document matching the given filter
Drop the collection from the database
Drop an index from the collection
A function that returns the estimated number of documents in the collection
Get a FindCursor for the given filter
Find and modify a document in one, returning the matching document.
Find one Document using the given filter
Insert multiple documents into the collection
Insert a single document into the collection
List the indexes on the collection
Replace a single document matching the given filter
Update multiple documents matching the given filter