Javascript Reference v1.0

Greater than a range

Finds all rows whose range value on the stated column is strictly to the right of the specified range.

Parameters
    column
    REQUIRED
    object

    The column to filter on.

    range
    REQUIRED
    string

    The range to filter with.


const { data, error } = await supabase
  .from('countries')
  .select('name, id, population_range_millions')
  .rangeGt('population_range_millions', '[150, 250]')