JavaScript: Match an associated value

Examples

With `select()`

const \{ data, error \} = await supabase
  .from('characters')
  .select('name, book_id')
  .match(\{name: 'Harry', book_id: 156\})

With `update()`

const \{ data, error \} = await supabase
  .from('instruments')
  .update(\{ name: 'piano' \})
  .match(\{name: 'harpsichord', section_id: 2\})

With `delete()`

const \{ data, error \} = await supabase
  .from('countries')
  .delete()
  .match(\{name: 'The Shire', country_id: 156\})

With `rpc()`

// Only valid if the Postgres function returns a table type.
const \{ data, error \} = await supabase
  .rpc('echo_all_characters')
  .match(\{name: 'Frodo', book_id: 156\})