gte static method

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

Constructs a greater than or equal ($gte) comparison operator.

Matches values that are greater than or equal to the specified value.

value The value to compare against

Example:

var query = DQ.field('age', DQ.gte(18)); // { 'age': { '$gte': 18 } }

Implementation

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