Limit the query to a range
Limits the result to rows within the specified range, inclusive.
Parameters
from
REQUIRED
intThe starting index from which to limit the result.
to
REQUIRED
intThe last index to which to limit the result.
referencedTable
Optional
StringSet this to limit rows of referenced tables instead of the parent table.
final data = await supabase
.from('cities')
.select('name, country_id')
.range(0,3);