Enumeration UpdateMode

The update mode to use when creating an object that already exists, which is determined by a matching primary key.

Enumeration Members

Enumeration Members

All: "all"

If an existing object exists (determined by a matching primary key), all properties provided will be updated, any other properties will remain unchanged.

Modified: "modified"

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.

Never: "never"

Objects are only created. If an existing object exists (determined by a matching primary key), an exception is thrown.

Generated using TypeDoc