objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence
https://docs.objectbox.io/getting-started
Apache License 2.0
918 stars 116 forks source link

notOneOf() is missing in Dart API #591

Open centy opened 3 months ago

centy commented 3 months ago

Use case

I need to get from DB all objects that does not meet condition.

box.query(MyData_.name.notOneOf(['name1','name2']))

It would be great to add that option as described in doumentation: https://docs.objectbox.io/queries#common-conditions

greenrobot-team commented 3 months ago

Thanks! Note that notOneOf is only supported for integer properties in all languages ObjectBox supports.

See also the related feature request for the Java library at https://github.com/objectbox/objectbox-java/issues/941.

Thumbs up the first comment to help us track interest!