Near
Near
DTDrizzle Team
Created by Near on 5/17/2023 in #help
Ordering by a string column but coercing it to a number for ordering
At the moment I am using this
.orderBy(sql`abs(${cardsTable.number})`)
.orderBy(sql`abs(${cardsTable.number})`)
and it seems to work so far <:ferris_sweat:677644908907069452>
2 replies