We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As #121 - but for projection inside a regular mongo find() operation.
find()
My test code is like so:
MongoCollection<Document> _col = ... FindIterable<Document> result = _col.find().project(fields(exclude("a.b", "c));
Which comes through to de.bwaldvogel.mongo.backend.projection.Projection.projectDocument()
de.bwaldvogel.mongo.backend.projection.Projection.projectDocument()
Should work for both of these forms:
{ "a" : {"b": 1, "xxx" : 0}} { "a" : [{"b": 1, "xxx" : 0}]}
Thanks!!
The text was updated successfully, but these errors were encountered:
It’s partially fixed in version 1.29.0 but more work is needed to improve projection of arrays.
1.29.0
Sorry, something went wrong.
No branches or pull requests
As #121 - but for projection inside a regular mongo
find()
operation.My test code is like so:
Which comes through to
de.bwaldvogel.mongo.backend.projection.Projection.projectDocument()
Should work for both of these forms:
Thanks!!
The text was updated successfully, but these errors were encountered: