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

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 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 about 5 years ago in Querying & Aggregations 2 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 2 years ago in Querying & Aggregations 0 Submitted

add index on oplog collection which will avoid full collection scan where change stream enabled , as of now full scan causing high cpu

add an index on oplog collection for change stream to avoid full collection
abinas roy almost 3 years ago in Atlas Stream Processing / Querying & Aggregations 1 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 3 years ago in Querying & Aggregations 1 Submitted

Improve the mongo query language

Sometimes I find Mongo query language as not put very well together, sometimes it feels like a patch job. It would be nice, if you could make you query language easier to reason about. It would be awesome, if you could introduce fluent style api b...
Guest over 3 years ago in Querying & Aggregations 0 Submitted

Add functionality to specify the readConcern level at db.collection.findOne()

Add functionality to specify the readConcern at db.collection.findOne(). At the version 5.0.14 it's not supported.
Guest over 3 years ago in Querying & Aggregations 0 Submitted

$currentDate option to only update if the document was modified

A common pattern in a data model is to have a field that denotes when the data was last modified. For this example, let this field be called "updated". I want to toggle a field on a document called "enabled", and if the value is modified I also wa...
Guest over 3 years ago in Querying & Aggregations 0 Submitted

Need an array query operator like elem match which matches all array nested object instead of at least one array element

as per documentation elem match query matches at least one match in array of nested object, same we need a array query operator which returns the whole document only if elem match like criteria matches all elements in array of nested objects. I h...
Guest almost 4 years ago in Querying & Aggregations 0 Submitted

Make redundant createView() a no-op

If I call createView() with params that match an existing view (in name and all other attributes), it returns an error. It'd be more convenient if the call simply succeeded without doing any work. The behavior I propose is analogous to the way tha...
Guest almost 4 years ago in Querying & Aggregations 0 Submitted