WebAPI/DataStore: Difference between revisions

Jump to navigation Jump to search
Line 170: Line 170:
== Revisions and changes ==
== Revisions and changes ==


The revisionId is a UUID and it can be used to retrieve the delta between a particular revisionId and the current one. This operation is done using |Promise<DataStoreChanges> getChanges(DOMString revisionId);|. Note that the object DataStoreChanges contains only useful operations: for example, the ID of record that has been updated and removed only shows up in the |removedIds| array.
The revisionId is a UUID and it can be used to retrieve the delta between a particular revisionId and the current one using |sync()|


== Examples ==
== Examples ==
Confirmed users
53

edits

Navigation menu