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 53 of 3993

$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 about 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 about 3 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 over 3 years ago in Querying & Aggregations 0 Submitted

Allow Dynamic Object In $project and $addFields

Assume I have a field mapping defined in some configuration collection of my application. And this field mapping varies for different clients on my application. I would like to pass the dynamic object in my $project or $addFields stage Like: $p...
Guest over 3 years ago in Querying & Aggregations 0 Submitted

Create operators that support Centrality Algorithms use cases

Degree Centrality Closeness Centrality Harmonic Centrality Betweenness Centrality Eigenvector Centrality PageRank ArticleRank
Guest over 3 years ago in Querying & Aggregations 0 Submitted

Add a $sample accumulator operator

So that it's easier to sample a number of items from each group, instead of writing lengthy DSL like this: https://www.mongodb.com/community/forums/t/sample-x-number-of-documents-in-each-group-with-or-after-a-group-stage/170787 Ideally it can be...
Guest over 3 years ago in Querying & Aggregations 0 Submitted

kNN Searches with MongoDB

Dear MongoDB team, The possibility for kNN searches within a collection would be a real game changer. Not only in machine learning, but also in other areas you need this query method to find similar structures. Practically, it could go in the sam...
Guest over 3 years ago in Querying & Aggregations 0 Submitted

Add option to $dayOfWeek to choose between Monday and Sunday

Hi! I was wondering if you could add an optional parameter to $dayOfWeek that allows you to choose on which day you want the functionality to start counting. Thanks!
Guest almost 4 years ago in Querying & Aggregations 1 Submitted

Add regex support in pipeline operator `replaceAll`

It would be very nice to have something like this possible: ``` { $replaceAll: { input: "$text", find: "/[;,.]/g", replacement: "." } } ``` Many thanks !
Guest almost 4 years ago in Querying & Aggregations 1 Submitted

the profile output in association with the $comment query operator need to have consistency across operations.

I have observed the different profile result with regard to $comment query operator in association with find and update operation respectively as follows; - find operation shows a comment on the command.filter.$comment and the command.comment fie...
Guest about 4 years ago in Querying & Aggregations 0 Submitted