Possible: ORDER BY column COLLATE NOCASE?
See original GitHub issueI only found:
public Where<ModelClass> orderBy(boolean ascending, String... columns)
public Where<ModelClass> orderBy(String orderby)
I need this to get a list back with “queryList()”.
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Case Insensitive ORDER BY clause using COLLATE
If you were using PostgreSQL 12 or newer you would be able to create a new collation via the CREATE COLLATION command that...
Read more >how to sort by case insensitive alphabetical order using ...
I am trying to sort alphabetically case insensitive using COLLATE NOCASE but getting error. ORA - 00933 SQL command not properly ended.
Read more >SQLite Collating Sequences - w3resource
Sorting of column colc is performed using the NOCASE collating sequence. SELECT coln FROM test ORDER BY colc COLLATE NOCASE, coln;.
Read more >Case-insensitive using 'ORDER BY' - SQLite Forum
I'm confused a bit by the ORDER BY operator. I would like it to be case-insensitive. I already have enabled 'case_sensitive_like = 1'...
Read more >Column-Level Collation and Case-Insensitive Database in ...
Collation determines how strings are compared, which has a direct impact on ordering (sorting) and equality tests between strings. Oracle ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still wrong.
wrong:
good:
—> ASC/DESC should be behind COLLATE NOCASE
Update: I have tried both: 1)
Same result.
in 3.0, develop too. can access
OrderBy
via...orderBy(OrderBy.fromProperty(someproperty).collate(Collate.NOCASE))...