Home

Retrieve the query as one row

Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error.


final data = await supabase
  .from('cities')
  .select('name, country_id')
  .single();
Need some help?

Not to worry, our specialist engineers are here to help. Submit a support ticket through the Dashboard.