Mongo DB filter document


#1

I have a mongo document.

db.getCollection('indexdata').find({})

here is the document
before.txt (21.7 KB)

I want this document to be filtered

here is the expected filtered document
aftertxt.txt (7.5 KB)

how to query to get this filtered document ?