We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queries with objects in list arguments should work
Ex. passing object references to the IN operator as in this Kotlin test should match the objects that points to the given argument objects:
IN
val child = realm.writeBlocking { val child = copyToRealm(QuerySample().apply { stringField = "child" }) copyToRealm(QuerySample().apply { nullableRealmObject = child }) child } val result = realm.query<QuerySample>("nullableRealmObject IN $0", listOf(even, odd)).find() assertEquals(1, result.size)
The above query does not return any result. A C-API test of the same has been written in https://github.com/realm/realm-core/pull/6686/files
See https://github.com/realm/realm-core/pull/6686/files
Core version: 13.11.0 - https://github.com/realm/realm-core/tree/d8721d7baec39571e7e5373c3f407a50d144307e
The text was updated successfully, but these errors were encountered:
Just a small note on the issue, this was not only a C-API related problem.
Sorry, something went wrong.
nicola-cab
Successfully merging a pull request may close this issue.
Expected results
Queries with objects in list arguments should work
Ex. passing object references to the
IN
operator as in this Kotlin test should match the objects that points to the given argument objects:Actual Results
The above query does not return any result. A C-API test of the same has been written in https://github.com/realm/realm-core/pull/6686/files
Steps & Code to Reproduce
See https://github.com/realm/realm-core/pull/6686/files
Core version
Core version: 13.11.0 - https://github.com/realm/realm-core/tree/d8721d7baec39571e7e5373c3f407a50d144307e
The text was updated successfully, but these errors were encountered: