Breaking out forum topic 314 into separate posts for each proposed Op.
Update
The update op is used to modify existing recs on the Haystack Server.
Request: a grid of records containing all recs to be updated on the server. Prior to performing an Update, the client should do a Read to ensure it has the latest version of the rec to be modified.
Response: order consistent grid containing all recs that were updated on the server. An "err" column should also be added so any rows that encountered an error during the update can report such error.
Example:
Here is an example which posts some updated recs to the server:
Should we add to the standard the concept of versioning, or should this be left as a server specific implementation? My opinion is that it should be left as a server specific implementation.
Per Brian's suggestions with the proposed Create Op, should all operations complete or fail atomically?
Mark OellermannTue 6 Oct 2015
Shawn,
Agree - server-specific.
I tend to agree that atomicity is important. This is straightforward enough in a single-entity update, but might get complicated with multi-entity updates? Regards, Mark
Shawn Jacobson Tue 8 Sep 2015
Breaking out forum topic 314 into separate posts for each proposed Op.
Update
The update op is used to modify existing recs on the Haystack Server.
Request: a grid of records containing all recs to be updated on the server. Prior to performing an Update, the client should do a Read to ensure it has the latest version of the rec to be modified.
Response: order consistent grid containing all recs that were updated on the server. An "err" column should also be added so any rows that encountered an error during the update can report such error.
Example:
Here is an example which posts some updated recs to the server:
Questions:
Mark Oellermann Tue 6 Oct 2015
Shawn,