not method
Finds all rows which doesn't satisfy the filter.
await supabase
.from('users')
.select()
.not('status', 'eq', 'OFFLINE');
Implementation
PostgrestFilterBuilder<T> not(String column, String operator, Object? value) {
final Uri url;
if (value is List) {
if (operator == "in") {
url = appendSearchParams(
column,
'not.$operator.(${_cleanFilterArray(value)})',
);
} else {
url = appendSearchParams(
column,
'not.$operator.{${_cleanFilterArray(value)}}',
);
}
} else {
url = appendSearchParams(column, 'not.$operator.$value');
}
return copyWithUrl(url);
}