Created
July 16, 2021 11:27
-
-
Save cmelchior/a64ee77732edc4ceb041cc9fba56a26f to your computer and use it in GitHub Desktop.
Realm Kotlin 0.40 Release Blog Post - Version Mismatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A write can now happen between two queries | |
val results1: RealmResults<Person> = realm.objects(Person::class) | |
val results2: RealmResults<Person> = realm.objects(Person::class) | |
// Resulting in subsequent queries not returning the same result | |
results1.version() != results2.version() | |
results1.size != results2.size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment