Skip to content

Commit 24dcbde

Browse files
abhadusoedirgo
andauthored
chore: offset should be to + 1 not from + to in function documentation. (#516)
* Update PostgrestTransformBuilder.ts * Update PostgrestTransformBuilder.ts --------- Co-authored-by: Bobbie Soedirgo <[email protected]>
1 parent 7fc5fcb commit 24dcbde

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
@@ -141,7 +141,7 @@ export default class PostgrestTransformBuilder<
141141
}
142142

143143
/**
144-
* Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`).
144+
* Limit the query result by starting at an offset `from` and ending at the offset `to`.
145145
* Only records within this range are returned.
146146
* This respects the query order and if there is no order clause the range could behave unexpectedly.
147147
* The `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third

0 commit comments

Comments
 (0)