Perform a SELECT query on the table or view.
- By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed in Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use
range()queries to paginate through your data.
select()can be combined with Filters
select()can be combined with Modifiers
apikeyis a reserved keyword if you're using the Supabase Platform and should be avoided as a column name.
final data = await supabase .from('cities') .select('name');