I have a MongoDB collection with documents in the following format:
{ \"_id\" : ObjectId(\"4e8ae86d08101908e1000001\"), \"name\" : [\"Name\"], \"zipcod
Try to do something like this:
db.getCollection('collectionName').find({'ArrayName.1': {$exists: true}})
1 is number, if you want to fetch record greater than 50 then do ArrayName.50 Thanks.