KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a document in MongoDB like { "_id" : ObjectId("51723a2f2b9b90e9eb190c45"), "d" : BinData(0,"c9f0f895fb98ab9159f51fd0297e236d") } The field "d" is indexed, but how can I find by its value in mongo shell? e.g. db.test.find( {"d": BinData(0,"c9f0f895fb98ab9159f51fd0297e236d") } ) Not working, any idea?
Tags (comma-separated)
Save Edits
Cancel