Javascript Reference v1.0

Retrieve zero or one row of data


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