JavaScript: Match an associated value

Match only rows where each column in query keys is equal to its associated value. Shorthand for multiple .eq()s.

Parameters

Examples

With `select()`

const \{ data, error \} = await supabase
  .from('countries')
  .select('name')
  .match(\{ id: 2, name: 'Albania' \})