BoxerQueryOption.gt constructor

BoxerQueryOption.gt({
  1. required List<String> columns,
  2. required List<Object?> values,
  3. BoxerOptionType join = BoxerOptionType.AND,
})

Implementation

factory BoxerQueryOption.gt({
  required List<String> columns,
  required List<Object?> values,
  BoxerOptionType join = BoxerOptionType.AND,
}) {
  ensureLegality(columns: columns, values: values);
  String? _where = joinWith(columns.map((e) => '$e > ?').toList(), join);
  return BoxerQueryOption()
    ..where = _where
    ..whereArgs = values;
}