Mongo.count_documents
You're seeing just the function
count_documents
, go back to Mongo module for more information.
Specs
count_documents(GenServer.server(), collection(), BSON.document(), Keyword.t()) :: result(non_neg_integer())
Returns the count of documents that would match a find/4 query.
Options
:limit
- Maximum number of documents to fetch with the cursor:skip
- Number of documents to skip before returning the first