likeAllOf method

PostgrestFilterBuilder likeAllOf(
  1. String column,
  2. List<String> patterns
)

Match only rows where column matches all of patterns case-sensitively.

await supabase
    .from('users')
    .select()
    .likeAllOf('username', ['%supa%', '%bot%']);

Implementation

PostgrestFilterBuilder likeAllOf(String column, List<String> patterns) {
  return copyWithUrl(
      appendSearchParams(column, 'like(all).{${patterns.join(',')}}'));
}