Skip to content

Add case insensitive order support for custom queries [DATAGRAPH-1290] #1852

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

Closed
spring-projects-issues opened this issue Feb 11, 2020 · 0 comments
Assignees
Labels
in: core Issues in core support type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

ihordz opened DATAGRAPH-1290 and commented

Currently we can use spring-data Sort class (directly or via Pageable) to specify order in custom queries.  But case-insensitive support is missing.

org.springframework.data.domain.Sort.Order class provides ignoreCase boolean field which can be taken into account during order-by clause generation.

Of course, will be good to have case insensitive order support for derived repository methods too, but this requires ogm code changes (e.g. org.neo4j.ogm.cypher.query.SortOrder class etc)

So, idea of this improvement is  to add case insensitive order support at least for custom queries


Affects: 5.2.4 (Moore SR4), 5.3 M2 (Neumann), 5.3 M3 (Neumann)

Referenced from: pull request #506

Backported to: 5.2.5 (Moore SR5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants