.in_()

找到所有在所述 column上的值在指定的 value上被发现的记录。

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .in_('name', ['Rio de Janeiro', 'San Francisco'])
  .execute();

Examples

使用 select()

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .in_('name', ['Rio de Janeiro', 'San Francisco'])
  .execute();

使用 update()

final res = await supabase
  .from('cities')
  .update({ 'name': 'Mordor' })
  .in_('name', ['Rio de Janeiro', 'San Francisco'])
  .execute();

使用 delete()

final res = await supabase
  .from('cities')
  .delete()
  .in_('name', ['Rio de Janeiro', 'San Francisco'])
  .execute();

results matching ""

    No results matching ""