I have a MongoDB collection with documents in the following format:
{ \"_id\" : ObjectId(\"4e8ae86d08101908e1000001\"), \"name\" : [\"Name\"], \"zipcod
db.accommodations.find({"name":{"$exists":true, "$ne":[], "$not":{"$size":1}}})