not method
Finds all rows which doesn't satisfy the filter.
postgrest.from('users').select().not('status', 'eq', 'OFFLINE')
Implementation
PostgrestFilterBuilder not(String column, String operator, dynamic value) {
if (value is List) {
if (operator == 'cs') {
// `cs` filter requires postgrest array type `{}`
appendSearchParams(
column,
'not.$operator.{${_cleanFilterArray(value)}}',
);
} else {
appendSearchParams(
column,
'not.$operator.(${_cleanFilterArray(value)})',
);
}
} else {
appendSearchParams(column, 'not.$operator.$value');
}
return this;
}