-
Notifications
You must be signed in to change notification settings - Fork 57
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
Filters support #278
base: main
Are you sure you want to change the base?
Filters support #278
Conversation
Filter and search support
Fresh avocado detected! Welcome and thank you for your contribution @galaxyse. My avocado-loving overlords have decreed a signed CLA is required for PRs. Please see https://github.com/arangodb/arangodb/blob/devel/CONTRIBUTING.md file to learn more or ask @cw00dw0rd if you have issues. |
/* | ||
* DISCLAIMER | ||
* | ||
* Copyright 2023 Hewlett Packard Enterprise Development LP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this should be changed according to CLA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @galaxyse , thanks for your contribution!
Unfortunately this PR has compilation errors (see https://github.com/arangodb/spring-data/actions/runs/5867038721).
From a first look, I do not fully understand the feature(s) you are trying to implement, since I cannot see any integration test, but just unit tests. I.e. it would be useful having some tests where the new annotations introduced in this PR are used. A description of the feature in the PR would be also appreciated and help updating the official documentation web pages.
Furthermore, I can only see few operators (AND
and OR
) and comparators (==
) implemented. Is this PR still a work in progress?
From a features standpoint, some Spring Data modules already implement capabilities to apply query filters, such as:
- Query By Example (https://docs.spring.io/spring-data/commons/docs/current/reference/html/#query-by-example)
- Querydsl (https://docs.spring.io/spring-data/commons/docs/current/reference/html/#core.extensions.querydsl)
- JPA Criteria API (https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#specifications)
Are any of these suitable for your needs?
Ideally, this library can be enhanced with support to any of the API mentioned above, thus avoiding implementing a new API specific for ArangoDB. Execution can be then customized, to implement specific AQL.
Best Regards
Added missing function to the file.
Thank you for the review and response. The provided links doesn't support out needs. We need keyword based search and filtering. I have fixed the compilation issue. Can you check ? |
No description provided.