If an existing object exists (determined by a matching primary key), all properties provided will be updated, any other properties will remain unchanged.
If an existing object exists (determined by a matching primary key), only properties where the value has actually changed will be updated. This improves notifications and server side performance but also have implications for how changes across devices are merged. For most use cases, the behavior will match the intuitive behavior of how changes should be merged, but if updating an entire object is considered an atomic operation, this mode should not be used.
Objects are only created. If an existing object exists (determined by a matching primary key), an exception is thrown.
Generated using TypeDoc
The update mode to use when creating an object that already exists, which is determined by a matching primary key.