match method

PostgrestFilterBuilder match(
  1. Map query
)

Finds all rows whose columns match the specified query object.

query contains column names as keys mapped to their filter values.

postgrest.from('users').select().match({'username': 'supabot', 'status': 'ONLINE'})

Implementation

PostgrestFilterBuilder match(Map query) {
  query.forEach((k, v) => appendSearchParams('$k', 'eq.$v'));
  return this;
}