Flutter: Match at least one filter

Finds all rows satisfying at least one of the filters.

Parameters

Examples

With `select()`

final data = await supabase
  .from('countries')
  .select('name')
  .or('id.eq.2,name.eq.Algeria');

Use `or` with `and`

final data = await supabase
  .from('countries')
  .select('name')
  .or('id.gt.3,and(id.eq.1,name.eq.Afghanistan)');

Use `or` on referenced tables

final data = await supabase
  .from('countries')
  .select('''
    name,
    cities!inner (
      name
    )
  ''')
  .or('country_id.eq.1,name.eq.Beijing', referencedTable: 'cities' );