JavaScript: Match an associated value

Examples

With `select()`

const \{ data, error \} = await supabase
  .from('cities')
  .select('name, country_id')
  .match(\{name: 'Beijing', country_id: 156\})

With `update()`

const \{ data, error \} = await supabase
  .from('cities')
  .update(\{ name: 'Mordor' \})
  .match(\{name: 'Beijing', country_id: 156\})

With `delete()`

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

With `rpc()`

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