MongoDB Community Hub
How To Find Document With Child Array Where Child Has An Id
MongoDB Atlas
Atlas Search
queries
Erik_Hatcher
(Erik Hatcher)
April 9, 2025, 5:54pm
2
kids._id
is not an ObjectId - it’s a string. But you’re querying for an ObjectId type.
show post in topic
NEW: MongoDB Community Hub is Now in Public Preview!
×