Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Compass
Created by Guest
Created on Jun 19, 2024

Optional ID search fallback for ObjectID

If I search { _id: 'd7hw803h2ihdf3h97298dh3' } and the query returns nothing, I should have the option to re-query but with this instead: { _id: ObjectId('d7hw803h2ihdf3h97298dh3') } and there should be a toggle switch to automatically do this re-querying when there's an empty result. There's no reason not to have this, it's very easy to implement, and it would be some nice quality of life.
  • Attach files