Skip to content

Commit ecf62ed

Browse files
docs: clarify language in range documentation (supabase#30989)
* docs: clarify language in range documentation - Change parameter names from start/end to from/to for consistency - Fix incorrect offset description in notes section * Apply suggestions from code review --------- Co-authored-by: Charis <[email protected]>
1 parent 0004574 commit ecf62ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/docs/spec/supabase_py_v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6019,9 +6019,9 @@ functions:
60196019
type: string
60206020
description: Set this to limit rows of foreign tables instead of the parent table.
60216021
notes: |
6022-
Limit the query result by starting at an offset (`from`) and ending at the offset (`from + to`). Only records within this range are returned. This respects the query order and if there is no order clause the range could behave unexpectedly.
6022+
Limit the query result by starting at an offset (`start`) and ending at the offset (`end`). Only records within this range are returned. This respects the query order and if there is no order clause the range could behave unexpectedly.
60236023
6024-
The `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third and fourth rows of the query.
6024+
The `start` and `end` values are 0-based and inclusive: `range(1, 3)` will include the second, third and fourth rows of the query.
60256025
examples:
60266026
- id: with-select
60276027
name: With `select()`

0 commit comments

Comments
 (0)