--- id: not title: ".not()" slug: not custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml --- import Tabs from '@theme/Tabs'; import TabsPanel from '@theme/TabsPanel'; Finds all rows which doesn't satisfy the filter. ```js const { data, error } = await supabase .from('cities') .select('name, country_id') .not('name', 'eq', 'Paris') ``` ## Parameters ## Examples ### With `select()` ```js const { data, error } = await supabase .from('cities') .select('name, country_id') .not('name', 'eq', 'Paris') ``` ### With `update()` ```js const { data, error } = await supabase .from('cities') .update({ name: 'Mordor' }) .not('name', 'eq', 'Paris') ``` ### With `delete()` ```js const { data, error } = await supabase .from('cities') .delete() .not('name', 'eq', 'Paris') ``` ### With `rpc()` ```js // Only valid if the Postgres function returns a table type. const { data, error } = await supabase .rpc('echo_all_cities') .not('name', 'eq', 'Paris') ```