Is it possible to do a query like:
db.artigo.find( { _id : ObjectId(\'520a504a3004bc615fcfcf16\') } )
but using a regex on ObjectId?
This is what you need:
db.artigo.find( { _id : { $regex: '004' } } )