matchRegex method
Finds all rows whose value in the stated column matches the supplied pattern using PostgreSQL regular expression (case sensitive).
await supabase
.from('users')
.select()
.matchRegex('username', '^sup.*');
Implementation
PostgrestFilterBuilder<T> matchRegex(String column, String pattern) {
return copyWithUrl(appendSearchParams(column, 'match.$pattern'));
}