Deprecated
Use countDocuments
or estimatedDocumentCount
instead
import { Collection } from "https://deno.land/x/mongo@v0.31.2/src/collection/collection.ts";
Parameters
optional
filter: Filter<T>optional
options: CountOptionsUse countDocuments
or estimatedDocumentCount
instead
import { Collection } from "https://deno.land/x/mongo@v0.31.2/src/collection/collection.ts";