hasNin static method

Map<String, Object?> hasNin(
  1. Object? value
)

Matches documents where the field's value is not in the provided list.

Example:

var query = DQ.hasNin(['value1', 'value2']); // { '\$nin': [ 'value1', 'value2' ] }

Implementation

static Map<String, Object?> hasNin(Object? value) {
  return {
    '\$nin': value,
  };
}