orderBetween method

QueryBuilder<MokuroCatalog, MokuroCatalog, QAfterWhereClause> orderBetween(
  1. int lowerOrder,
  2. int upperOrder,
  3. {bool includeLower = true,
  4. bool includeUpper = true}
)

Implementation

QueryBuilder<MokuroCatalog, MokuroCatalog, QAfterWhereClause> orderBetween(
  int lowerOrder,
  int upperOrder, {
  bool includeLower = true,
  bool includeUpper = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.between(
      indexName: r'order',
      lower: [lowerOrder],
      includeLower: includeLower,
      upper: [upperOrder],
      includeUpper: includeUpper,
    ));
  });
}