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