Uploaded image for project: 'Realm Java SDK'
  1. Realm Java SDK
  2. RJAVA-811

In and oneOf for binary fields

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Seems like RealmQuery.in and the extension method RealmQuery.oneOf is not implemented for binary fields (byte[]/ByteArray).

      As far as I can see we could just add methods similar to the other types

      RealmQuery.in(String fieldName, @Nullable byte[][] values) {
      

      And the extension method

      fun <T : RealmModel> RealmQuery<T>.oneOf(propertyName: String, value: Array<out ByteArray?>): RealmQuery<T> 
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            claus.rorbech@mongodb.com Claus Rørbech
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: