.not()
Finds all rows which doesn't satisfy the filter.
- JavaScript
- Python
const { data, error } = await supabase
.from('cities')
.select('name, country_id')
.not('name', 'eq', 'Paris')
Parameters
columnrequiredobject
The column to filter on.
operatorrequiredFilterOperator
The operator to filter with.
valuerequiredany
The value to filter with.
Examples
select()
With - JavaScript
- Python
const { data, error } = await supabase
.from('cities')
.select('name, country_id')
.not('name', 'eq', 'Paris')
update()
With - JavaScript
- Python
const { data, error } = await supabase
.from('cities')
.update({ name: 'Mordor' })
.not('name', 'eq', 'Paris')
delete()
With - JavaScript
- Python
const { data, error } = await supabase
.from('cities')
.delete()
.not('name', 'eq', 'Paris')
rpc()
With - JavaScript
- Python
// Only valid if the Stored Procedure returns a table type.
const { data, error } = await supabase
.rpc('echo_all_cities)
.not('name', 'eq', 'Paris')