.adj()
Finds all rows whose range value on the stated column
is adjacent to
the specified range
.
- JavaScript
- Python
const { data, error } = await supabase
.from('countries')
.select('name, id, population_range_millions')
.adj('population_range_millions', [70, 185])
Parameters
columnrequiredobject
The column to filter on.
rangerequiredstring
The range to filter with.
Examples
select()
With - JavaScript
- Python
const { data, error } = await supabase
.from('countries')
.select('name, id, population_range_millions')
.adj('population_range_millions', [70, 185])
update()
With - JavaScript
- Python
const { data, error } = await supabase
.from('countries')
.update({ name: 'Mordor' })
.adj('population_range_millions', [70, 185])
delete()
With - JavaScript
- Python
const { data, error } = await supabase
.from('countries')
.delete()
.adj('population_range_millions', [70, 185])
rpc()
With - JavaScript
- Python
// Only valid if the Stored Procedure returns a table type.
const { data, error } = await supabase
.rpc('echo_all_countries')
.adj('population_range_millions', [70, 185])