-
Notifications
You must be signed in to change notification settings - Fork 192
Support project()
method for CouchbaseTemplate.findByQuery() queries
#1208
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
Comments
There is a .as(ClassType) that would allow do similar actions but it requires to define a projection class for that. It would be better also have project(array of string fieldnames) method |
Thanks for your input. Is there such a feature in another spring data project we could follow? |
Hello @khanium |
Currently, CouchbaseTemplate.findById() has a method project( fieldnames array ) that allows filter fields to project for a findById query.
Request
Add findByQuery().project() method for projecting only a given list of fields.
The text was updated successfully, but these errors were encountered: