Home

Limit the query

Limit the query result by count.

Parameters
  • count
    REQUIRED
    number

    The maximum number of rows to return

  • options
    Optional
    object

    Named parameters


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