Skip to content

Commit

Permalink
hot: Order for NULL values (#522)
Browse files Browse the repository at this point in the history
order for NULL values
  • Loading branch information
justraman authored Jul 26, 2023
1 parent 00ab800 commit b8f9b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server-extension/resolvers/top_collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class TopCollectionResolver {

return inBuilder
}, 'l')
.orderBy(orderBy, order)
.orderBy(orderBy, order, 'NULLS LAST')
.limit(limit)
.offset(offset)

Expand Down

0 comments on commit b8f9b14

Please sign in to comment.