like method

PostgrestFilterBuilder<T> like(
  1. String column,
  2. String pattern
)

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

await supabase
    .from('users')
    .select()
    .like('username', '%supa%');

Implementation

PostgrestFilterBuilder<T> like(String column, String pattern) {
  return copyWithUrl(appendSearchParams(column, 'like.$pattern'));
}