equalTo() is not working when we have two conditions on the same field
T-BugO-CommunityWaiting-For-ReporterFrequency:AlwaysRepro:AlwaysSDK-Use:LocalEncryption:Off
### How frequently does the bug occur?
Always
### Description
We have a `type` field. We need the list of data from DB where (type == "ABSENCE" or type == " PUBLIC_HOLIDAY"). But we are getting data of type == "ABSENCE" only
```
val query = realm.where(TimeOffEvents::class.java)
val iterator = types.split(",").toTypedArray()
query.equalTo("type", iterator[0]).or().equalTo("type", iterator[1])
query.sort("startDate", Sort.ASCENDING).findAllAsync()
```
### Stacktrace & log output
_No response_
### Can you reproduce the bug?
Always
### Reproduction Steps
_No response_
### Version
10.17.0
### What Atlas App Services are you using?
Local Database only
### Are you using encryption?
No
### Platform OS and version(s)
Android
### Build environment
Android Studio version: Android Studio Jellyfish | 2023.3.1 Patch 1
Android Build Tools version: ...
Gradle version: 8.2.2
5 条评论