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

Document scoped RBAC - Permission for collection document fields

Roles and accesses can be defined on the basis of collections that define roles for users. It would be nice if these access permissions could be made within the scope of the fields under the collection and the query results would be returned accor...
Guest about 3 years ago in Querying & Aggregations 1 Submitted

Support expressions in $densify range bounds

The $densify aggregation pipeline stage seems unable to evaluate range bounds expressions, requiring the range bounds to be constant. See the following example (the collection testcoll contains a single documents with only the _id field): ``` s...
Guest over 3 years ago in Querying & Aggregations 3 Submitted

Flatten arrays in group stage

Have group operators to flatten document arrays into a single one with or without repeated elements. So -> doc1 = {arr: [1,2,3,4], gr: "group"}, doc2 = {arr: [5, 6, 7, 8], gr: "group"} {$group: {_id: "$gr", arrays: {$***: "$arr"} } } => {_id...
Guest over 2 years ago in Querying & Aggregations 1 Submitted

Is there any limitation on size of query in pipeline (character in query, not data)

I have an aggregate query, when the character in pipeline over 21066 character, the result return wrong format that the pipeline expected. So I wonder is there any limitation on size of query in pipeline? My case is: Query: [ "$match":{"profileI...
Guest over 1 year ago in Querying & Aggregations 0 Submitted

Support concise correlated queries for $graphLookUp

Similar to $lookUp, support concise correlated queries for $graphLookUp. It would allow adding a $project stage to reduce overhead.
Guest over 1 year ago in Querying & Aggregations 0 Submitted

Add SHA2, SHA3 and ECDSA functions to agg framework

It is very useful (and valuable security-wise) to be able to reverify hashes and signatures "on-engine" instead of dragging material out to a client app and running the algo there. The implementations are straightforward and everywhere now so it's...
Guest almost 3 years ago in Querying & Aggregations 0 Submitted

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

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