JavaScript: Retrieve one row of data

Return data as a single object instead of an array of objects.

Examples

With `select()`

const \{ data, error \} = await supabase
  .from('countries')
  .select('name')
  .limit(1)
  .single()