Home

Retrieve the query as 0-1 rows

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


const { data, error } = await supabase
  .from('countries')
  .select()
  .eq('name', 'Singapore')
  .maybeSingle()