ilike method

PostgrestFilterBuilder ilike(
  1. String column,
  2. String pattern
)

Finds all rows whose value in the stated column matches the supplied pattern (case insensitive).

postgrest.from('users').select().ilike('username', '%SUPA%')

Implementation

PostgrestFilterBuilder ilike(String column, String pattern) {
  appendSearchParams(column, 'ilike.$pattern');
  return this;
}