bsonQry = BSON("dbStats" << 1 << "scale" << 1);
conn->runCommand( dbName, bsonQry, bsonResult);
I'm wondering if there is a way to get stats about a collection - I basically need the count, size, avgObjSize and storageSize.
Thank you in advance.