|
WARNING: Deprecated since version 1.10.0: Use the $collStats
aggregation pipeline stage with mongoc_collection_aggregate()
instead.
SYNOPSISbool mongoc_collection_stats (mongoc_collection_t *collection, PARAMETERS
DESCRIPTIONRun the collStats command to retrieve statistics about the collection. The command uses the mongoc_read_prefs_t set on collection. ERRORSErrors are propagated via the error parameter. RETURNSReturns true if successful. Returns false and sets error if there are invalid arguments or a server or network error. reply is always initialized and must be freed with bson_destroy(). AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|