Kotlin: Column is less than or equal to a value

Finds all rows whose value on the stated column is less than or equal to the specified value.

Parameters

Examples

With select()

supabase.from("cities").select(columns = Columns.list("name")) {
    filter {
       City::countryId lte 300
       //or
       lte("country_id", 300)
    }
}

With update()

val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) {
    filter {
       City::countryId lte 300
       //or
       lte("country_id", 300)
    }
}

With delete()

supabase.from("cities").delete {
    filter {
       City::countryId lte 300
       //or
       lte("country_id", 300)
    }
}

With rpc()

supabase.postgrest.rpc("echo_all_cities") {
    filter {
       City::countryId lte 300
       //or
       lte("country_id", 300)
    }
}