how can we get specific record in mongodb collection based on the objectId code example Example: mongo query new id x = ObjectId()