notInCollection method

ConditionQuery notInCollection(
  1. List<T> collection
)

Get sql statement to check weather this field value is not in a collection of values.

For example:

where: (q) => q.firstName.toLowerCase().notInCollection(['mohammed','ahmed'])

Implementation

ConditionQuery notInCollection(List<T> collection) =>
    _buildInOrNotInCollection(collection, false);