{ var name: String = "" var age: Int = 0 } class Person : RealmObject { var name: String = "" var dog: Dog? = null var puppies: RealmList<Expert> = RealmList() } @codeWithMohit
= realm.query<Dog>("age”, “1").first().find() // Observe Realm Notifications myDog.asFlow().map{ when(it){ is InitialResults -> TODO() is UpdatedResults -> TODO() } } // Update the puppy’s age to see the effect realm.write { myPuppy.age = 3 } @codeWithMohit
and fast Object-oriented No ORM or DAO required Advanced security and permissions Built-in conflict resolution The leading developer data platform on the cloud Functions Triggers GraphQL DataAPI Data Access Control Atlas Realm Kotlin SDK Atlas Device Sync Search Charts Time Series @codewithMohit