Javascript Reference v1.0

Limit the number of rows returned


const { data, error } = await supabase
  .from('cities')
  .select('name, country_id')
  .limit(1)