objectbox / objectbox/objectbox-dart
Query List<String> where element contains( 'part' )
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 162
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Use case
_I am trying to query entities with property of type List<String>
that have any element contains some text.
Proposed solution
_ Add QueryCondition elementContains(String part) to QueryStringVectorProperty
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate QueryStringVectorProperty and review its existing query-condition behavior. Add the requested elementContains(String part) condition so a List property matches when any element contains the supplied text, then verify the query behavior with the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100