objectbox-dart
objectbox-dart copied to clipboard
Query List<String> where element contains( 'part' )
trafficstars
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
There is containsElement(), does that work for you?
containsElement() checks for complete equality, I want to search inside every element in the list if it contains part.
Now i deal with that by storing the list as String and use contains()