idBetween method

QueryBuilder<MessageItem, MessageItem, QAfterFilterCondition> idBetween(
  1. Id? lower,
  2. Id? upper,
  3. {bool includeLower = true,
  4. bool includeUpper = true}
)

Implementation

QueryBuilder<MessageItem, MessageItem, QAfterFilterCondition> idBetween(
  Id? lower,
  Id? upper, {
  bool includeLower = true,
  bool includeUpper = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addFilterCondition(FilterCondition.between(
      property: r'id',
      lower: lower,
      includeLower: includeLower,
      upper: upper,
      includeUpper: includeUpper,
    ));
  });
}