count
Description
returns the total number of documents in a collection by using the MongoDB® C++ interface connection.n = count(conn,collection)
returns the total number of documents in an executed MongoDB query on a collection.n = count(conn,collection,Query=mongoquery)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021b