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 Completed
Created by Guest
Created on Feb 1, 2023

Provide builders/helpers for all MQL operators

Only a small subset of MQL operators have equivalent convenience wrappers in the Java (reactive) driver. Many such as $filter, $concatArrays, $first, $cond etc. have to be assembled as BsonDocuments etc leading to error-prone and cumbersome code.
  • Guest
    Apr 1, 2023
    Hi Ashni, Thanks for the release, I will give it a try once we have upgraded our Reactor dependency which is currently blocked on upgrading to Spring Boot 3.
  • Guest
    Feb 13, 2023
    A quick update -- this feature was delivered in the 4.9 release of the Java Driver on Feb 10, 2023. Please have a look at the release notes and give this feature a try! Let me know what you think. https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-9-0-released/213117
  • Guest
    Feb 7, 2023
    Hi Ashni, thanks for your response! The linked GH commit does look promising even though I did not try it out on our project. Looking forward to v4.9 then.
  • Guest
    Feb 6, 2023
    Hey Ferdinand, thanks for filing this feature request. Would you mind taking a look at https://jira.mongodb.org/browse/JAVA-3879 and letting me know if this meets your needs?