.or()

找到所有至少满足一个过滤器的记录。

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .or('id.eq.20,id.eq.30')
  .execute();

Examples

使用 select()

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .or('id.eq.20,id.eq.30')
  .execute();

Use or with and

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)')
  .execute();

results matching ""

    No results matching ""