not property

  1. @override
ColumnFilters<T> get not

Returns a copy of these column filters where all the filters are inverted

myColumn.not.equals(5); // All columns that aren't null and have a value that is not equal to 5

Keep in mind that while using inverted filters, null is never returned.

If you would like to include them, use the isNull filter as well

myColumn.not.equals(5) | myColumn.isNull(); // All columns that are null OR have a value that is not equal to 5 will be returned

Implementation

@override
ColumnFilters<T> get not => ColumnFilters(column, inverted: !inverted);