isar / isar/hive

Values for keys that start with <key-string>

Open
#552 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

**Question**
I have a box in my code that stores a string associated with a key that looks like this

(egs. "40409411My connection name")
I would like to get all the values that start with (egs. 40409411).
What is the most efficient way to do this? I didn't want to read in all the values and do a where to find the ones I want because I thought that could be slow / memory intensive.

**Code sample**
I'm needing a code sample of how to do this.

**Version**
Platform: iOS, Android
hive: ^1.4.4+1
hive_flutter: ^0.3.1
Flutter 1.25.0-8.3.pre

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.