Consultas $ne

Cuando deseamos consultar si un campo no contiene un valor usamos

db.getCollection('boletas').find({archivo:{$ne:""}})

Last updated