11.12.3.4.6. Function iot_agent_datastore_commit

11.12.3.4.6.1. Function Documentation

iot_agent_status_t iot_agent_datastore_commit(iot_agent_datastore_t *datastore)

Commit a transaction to a datastore.

A call to this function indicates that all necessary writes of a transaction are done and the datastore contens can be considered valid.

This is the indication to the datastore to invalidate old contents and from point in time onwards use the data that was updated with the transaction tht is committed.