Enumeration UpdateMode

The update mode to use when creating an object that already exists.

Enumeration Members

Enumeration Members

All: "all"

If an existing object is found, all properties provided will be updated, any other properties will remain unchanged.

Modified: "modified"

If an existing object exists, 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, an exception is thrown.

Generated using TypeDoc