Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 586e6cd

Browse files
committed
perf: nullsFirst = true by default
BREAKING CHANGE: nullsFirst = true by default We previously set `nullsFirst = false` by default, but it caused some perf issues: #239
1 parent 64f4612 commit 586e6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PostgrestTransformBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class PostgrestTransformBuilder<T> extends PostgrestBuilder<T> {
4646
column: keyof T,
4747
{
4848
ascending = true,
49-
nullsFirst = false,
49+
nullsFirst = true,
5050
foreignTable,
5151
}: { ascending?: boolean; nullsFirst?: boolean; foreignTable?: string } = {}
5252
): this {

0 commit comments

Comments
 (0)