© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
2y ago
•
3 replies
vr7bd
case insensitive orderBy
I want to do an
orderBy
orderBy
that is case insensitive
. How do I do it
?
Solution
Hello
,
@vr7bd
. I think you can try smth like this
:
.
orderBy
(
sql
`lower(${
<
YOUR_COLUMN
>
})`
)
.
orderBy
(
sql
`lower(${
<
YOUR_COLUMN
>
})`
)
Jump to solution
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
arrayOverlaps case insensitive
DT
Drizzle Team / help
12mo ago
schema unique case insensitive
DT
Drizzle Team / help
3y ago
Creating a Case-Insensitive Unique Index
DT
Drizzle Team / help
3y ago
Dynamic orderBy
DT
Drizzle Team / help
3y ago