I have a collection of users and some of them didn't fill in profile information (it was not required)
now I need to list or count which users don't have this field.
on MongoDb I use :
db.getCollection('usuario').find({perfis:{"$nin":[null,""]}}).count()
db.getCollection('usuario').find({perfis:{$exists:true}}).count()
Keep in mind I'm no expert and still learning. So pls look over my level.
I'll appreciate