NULLS LAST in orderBy
I am trying to create a query and the only way i have been able to order by with nulls last
is this:
so my question is: is there a way to do this without using an escape hatch?
6 Replies

that's essentially how it's done under the hood

that's how our own operat would look like, we will add one in ORM
cc: @TSK_SMILEY
btw we have support for them in indexes https://orm.drizzle.team/docs/latest-releases/drizzle-orm-v0310
Drizzle ORM - DrizzleORM v0.31.0 release
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
okay, thank you