MongoDB-NodeJS-Driver-DeprecationWarning-colección-count-es-depredada
db.collection("posts").countDocuments(
{}, // filters
{}, // options
function(error, result) {
console.log(result);
}
);
Mappy Show