objectbox-java
objectbox-java copied to clipboard
NotContains
Can you add support notContains to QueryBuilder for string
builder.notContains(Person_.name, "bla")
#835 also suggested notStartsWith
and similar.
While not tremendously helpful, some use cases may be solved with Query.filter(filter)
.
https://docs.objectbox.io/queries#query-filters
Or Query.subscribe()
with a transformer.
https://docs.objectbox.io/data-observers-and-rx#transforming-data
Wouldn't it be better/easier? to introduce a general not() for QueryBuilder that negates the next part? Realm does have that, and of course SQL 😁