For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Finds all rows which doesn't satisfy the filter.
.not() expects you to use the raw PostgREST syntax for the filter names and values.
.not('name','eq','violin')
.not('arraycol','cs','{"a","b"}') // Use Postgres array {} for array column and 'cs' for contains.
.not('rangecol','cs','(1,2]') // Use Postgres range syntax for range column.
.not('id','in','(6,7)') // Use Postgres list () and 'in' instead of `inFilter`.
.not('id','in','(${mylist.join(',')})') // You can insert a Dart list array.
The column to filter on.
The operator to be negated to filter with, following PostgREST syntax.
The value to filter with, following PostgREST syntax.
final data = await supabase
.from('countries')
.select()
.not('name', 'is', null)
final data = await supabase
.from('cities')
.update({ 'name': 'Mordor' })
.not('name', 'eq', 'Rohan');
final data = await supabase
.from('cities')
.delete()
.not('name', 'eq', 'Mordor');
// Only valid if the database function returns a table type.
final data = await supabase
.rpc('echo_all_cities')
.not('name', 'eq', 'Mordor');