--- id: or title: ".or()" slug: or custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/dart.yml --- import Tabs from '@theme/Tabs'; import TabsPanel from '@theme/TabsPanel'; Finds all rows satisfying at least one of the filters. ```dart final res = await supabase .from('cities') .select('name, country_id') .or('id.eq.20,id.eq.30') .execute(); ``` ## Examples ### With `select()` ```dart final res = await supabase .from('cities') .select('name, country_id') .or('id.eq.20,id.eq.30') .execute(); ``` ### Use `or` with `and` ```dart final res = await supabase .from('cities') .select('name, country_id') .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)') .execute(); ```