Dart Reference v2.0

Match an associated value

Finds all rows whose columns match the specified query object.

Parameters
    query
    REQUIRED
    Map<String, dynamic>

    The object to filter with, with column names as keys mapped to their filter values


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