-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to use $addFields
aggregation
#40
Comments
@lenguyenthanh, I've just did a release with your change in it. You should now be able to use it in your code (v0.7.7) 👍 |
thanks a lot @Kirill5k for your quick help ❤️, really appreciated. We still some other missing aggregation operators. I'll continue work on those. Do prefer one pr per operator or one pr with all operators (with careful one commit per operator)? |
Either way is fine, whichever is easier for you. If you give me names of these operator, I could help you out on this as well. |
I created a new issue with all the missing aggregation operators: #43 |
First of all, thanks for your work on this library, We started to use it in lichess.org and it's just wonderful to use.
I just wonder how to use
$addFields
aggregation with mongo4cats. I see that We support some similar operation likeunwind
,replaceWith
but notaddFields
.I can create
Document
,Bson
by my own, but I couldn't find a way to create anAggregate
our of them.So, imho, We could solve this by two ways:
$addFields
and some other missing aggregations out of the boxorg.boson.Bson
orBsonValue
.I'm willing to create a PR if you think it's a good idea?
The text was updated successfully, but these errors were encountered: