WebAPI/DataStore: Difference between revisions

Jump to navigation Jump to search
Line 200: Line 200:
       // Update an object
       // Update an object
       obj.nick = 'baku';
       obj.nick = 'baku';
       stores[0].update(42, obj).then(function(id) {
       stores[0].update(obj, 42).then(function(id) {
         // id == 42
         // id == 42
         // ...
         // ...
Confirmed users
53

edits

Navigation menu