How to partially update a region object?
Imagine I have a model like this:
class Person {
@PrimaryKey long id;
String name;
Address address;
}
Suppose I synchronize my local domain database with a backend, and the backend gives me only Personwith idand name, where the name has changed (without an address).
How to update only Person.name? In addition, I want it to Person.addressremain as in the local database.
source
share