JavaScript: Retrieve zero or 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()
  .eq('name', 'Singapore')
  .maybeSingle()