Database
- bson
- mgodatagen
[{_id:"5cc2b26236d94e620335b6a3",image:"https://images.gr-assets.com/authors/1397937527p7/46603.jpg"},{_id:"5cc2b26236d94e620335b6a4",image:"https://images.gr-assets.com/authors/1397937527p7/46603.jpg"},{_id:"5cc2b26236d94e620335b6a5",image:"https://s.gr-assets.com/assets/nophoto/user/u_333x500-46491541e26dbeac15f51487d68dd207.png"},{_id:"5cc2b26236d94e620335b6a6",image:"https://s.gr-assets.com/assets/nophoto/user/u_333x500-46491541e26dbeac15f51487d68dd207.png"}]
Query
db.collection.find({image:{$not:{$regex:"nophoto"}}})