eq method

PostgrestFilterBuilder eq(
  1. String column,
  2. dynamic value
)

Finds all rows whose value on the stated column exactly matches the specified value.

postgrest.from('users').select().eq('username', 'supabot')

Implementation

PostgrestFilterBuilder eq(String column, dynamic value) {
  if (value is List) {
    appendSearchParams(column, 'eq.(${_cleanFilterArray(value)})');
  } else {
    appendSearchParams(column, 'eq.$value');
  }
  return this;
}