supabase-rb-rb
Database

Greater than or equal to a range

Match rows whose range column does not extend to the left of the supplied range.

Filter rows where column &> [start, finish) — the column's range does not start before the supplied range's lower bound. PostgREST operator: nxl (not extends left).

Signature

builder.range_gte(column, range)

Parameters

NameTypeRequiredDescription
columnString / SymbolRequiredA range-typed column.
rangeArray (length 2)RequiredTwo-element array [lower, upper]. Wrapped as (lower,upper) on the wire.

Returns

Returns
self (FilterRequestBuilder)

The same builder for chaining.

Example — bookings that start on or after the window's start

supabase
  .from("bookings")
  .select("*")
  .range_gte("during", ["2026-06-01", "2026-07-01"])
  .execute

On this page