Skip to content

Commit

Permalink
order for NULL values
Browse files Browse the repository at this point in the history
  • Loading branch information
justraman committed Jul 26, 2023
1 parent 4e5c702 commit cac9da1
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 cac9da1

Please sign in to comment.