queryIntIndex method

List<String> queryIntIndex(
  1. String indexName, {
  2. int? min,
  3. int? max,
  4. bool includeMin = true,
  5. bool includeMax = true,
  6. int? limit,
})

Returns chunk keys whose secondary integer index indexName falls within [min, max] in ascending (value, key) order via O(log N + K) binary search.

Implementation

List<String> queryIntIndex(
  String indexName, {
  int? min,
  int? max,
  bool includeMin = true,
  bool includeMax = true,
  int? limit,
}) {
  _ensureOpen();
  return _indexes.queryInt(
    indexName,
    min: min,
    max: max,
    includeMin: includeMin,
    includeMax: includeMax,
    limit: limit,
  );
}