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.

ADD NEW FEEDBACK

Feedback

Add hash function (eg. md5) to aggregation pipeline

I would like to implement hash-based sharding in my own application on top of MongoDB. For that purpose, I would like to pull a stable pseudorandom subset of documents into each of my servers, and I would like to do so without enlarging the docume...
Guest about 3 years ago in Querying & Aggregations 0 Submitted

$dateDiff operator should be useful to calculate age

In the documentation it says: " For example, two dates that are 18 months apart would return 1 year difference instead of 1.5 years.". But if startDate is 2021-08-01 and endDate is 2023-02-01, the result is 2 years difference. I think it should be...
Guest about 3 years ago in Querying & Aggregations 1 Submitted

$sort should allow 0 as argument meaning "no sort"

The $sort operator and aggregation stage should allow 0 (possibly also null) as an argument for the field sort order, meaning, "Don't sort." This allows a variable to be passed in that can conditionally skip the sort operation, in addition to the ...
Guest over 1 year ago in Querying & Aggregations 0 Submitted

Feature to perform Machine Learning predictive analysis and classification in MongoDB

I want to bring the machine learning compute and predictive analysis into MongoDB atlas. Instead of ETL my data out of Atlas to achieve this, I will reduce my architectural complexity by having an aggregation operator that does this on my document...
Guest almost 2 years ago in Querying & Aggregations 0 Submitted

hint support for $graphLookup

Currently you can supply a `hint` to the `aggregation` call in order to tell MongoDB to use a specific index for the initial `$match`. But there is currently no way to specify which index to use for a `$graphLookup` later in the pipeline. I would...
Guest over 3 years ago in Querying & Aggregations 0 Submitted

Add Relaxed mode support for the $out operator

Add Relaxed mode support for the $out operator. *and include as option in the existing drivers
Guest almost 2 years ago in Querying & Aggregations 0 Submitted

Aggregations should allow an empty sort stage instead of returning an error

When you run an aggregation pipeline that contains an empty sort stage (like `{"$sort": {}}`) MongoDB returns the error message "$sort stage must have at least one sort key". It would be really helpful if such a stage would work and simply not app...
Guest almost 2 years ago in Querying & Aggregations 0 Submitted

Sorting support on Array fields.

Presently, I'm attempting to arrange(sort) the documents within my collection based on a key nested within an array object. However, sorting isn't functioning as expected in this scenario. A proper explanation with example is here what I mean. ht...
Guest about 2 years ago in Querying & Aggregations 0 Submitted

JSON

I'm converting a lot of data for export from MongoDB -> Postgresql I would like an aggregation function to convert an object to JSON { "$addField": { "_id": true, "json": { '$convert': { 'input': '$subdocument', 'to': 'json', # // Id...
Guest about 2 years ago in Querying & Aggregations 0 Submitted

support $lookup for update aggregation

We frequently denormalise either full documents or subsets to different documents in order to speed up reading, create indexes or paginate/sort on fields. Consider a user collection and a task collection, if a task can be assigned to the user, it...
Guest over 4 years ago in Querying & Aggregations 2 Submitted