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

Querying & Aggregations

Showing 47

geo

It would be nice to get the length of an LineString of a geo-json object or the possibility to write an aggregation to calculate it.
Guest over 2 years 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 over 1 year 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 over 2 years ago in Querying & Aggregations 1 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 over 1 year 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 over 1 year 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 about 3 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 over 1 year 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 over 1 year 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 about 4 years ago in Querying & Aggregations 2 Submitted

$group all fields

$group should have the ability to allow specifying all fields in a document (without explicitly defining them all, which can lead to duplicating dozens of lines just to do "key: $first") This will help users that use $unwind and then want to $gro...
Guest about 2 years ago in Querying & Aggregations 1 Submitted