Javascript Reference v1.0

Less than or equal to a range

Finds all rows whose range value on the stated column is strictly to the left 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')
  .rangeLt('population_range_millions', '[150, 250]')