JavaScript: Match the filter

Examples

With `select()`

const \{ data, error \} = await supabase
  .from('characters')
  .select('name, book_id')
  .filter('name', 'in', '("Harry","Hermione")')

With `update()`

const \{ data, error \} = await supabase
  .from('countries')
  .update(\{ name: 'Mordor' \})
  .filter('name', 'in', '("Gondor","Rohan")')

With `delete()`

const \{ data, error \} = await supabase
  .from('countries')
  .delete()
  .filter('name', 'in', '("Mordor","The Shire")')

With `rpc()`

// Only valid if the Postgres function returns a table type.
const \{ data, error \} = await supabase
  .rpc('echo_all_countries')
  .filter('name', 'in', '("Mordor","The Shire")')

Filter embedded resources

const \{ data, error \} = await supabase
  .from('instruments')
  .select('name, orchestral_sections ( name )')
  .filter('orchestral_sections.name', 'in', '("strings","woodwinds")')