Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for some additional query Expressions #2376

Open
hjardines opened this issue Oct 9, 2021 · 1 comment
Open

Support for some additional query Expressions #2376

hjardines opened this issue Oct 9, 2021 · 1 comment
Labels
Feature Hacktoberfest Good issue for participating in Hacktoberfest
Projects

Comments

@hjardines
Copy link

hjardines commented Oct 9, 2021

Feature Request

MongoDB v3.2 introduced $arrayElemAt as an Aggregation expression (among many others), which is very useful to filter for Arrays of Embedded documents at a given position, typically "first" or "last".
Ref: https://docs.mongodb.com/manual/reference/operator/aggregation/arrayElemAt/

Then later MongoDB v3.6 introduced the ability of using the same "operators" for regular queries.
Quote: "The $expr allows the use of aggregation expressions within the query language."
Ref : https://docs.mongodb.com/manual/release-notes/3.6/

Q A
New Feature yes
RFC yes
BC Break no

Summary

I use Query Builder a lot, and prefer it a lot over the Aggregation Builder whenever is possible.

Is this something being looked upon on? Thanks a lot for all the hard work.

@malarzm
Copy link
Member

malarzm commented Oct 23, 2021

We know we're lagging a lot with operators and at this point I'm not sure we'll be able to add all of them at once like we always wanted. I think we need do start adding them as requests pop up, so @hjardines if you have some time on your hands we'd greatly appreciate a PR adding them!

@malarzm malarzm added this to 2.x (future scope) in Roadmap Oct 23, 2021
@malarzm malarzm added the Hacktoberfest Good issue for participating in Hacktoberfest label Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Hacktoberfest Good issue for participating in Hacktoberfest
Projects
No open projects
Roadmap
2.x (future scope)
Development

No branches or pull requests

2 participants