globalstorage
globalstorage copied to clipboard
Cursor.transaction(), .commit() and .rollback()
Conceptual code:
var c1 = gs.select({ category: 'Person', name: 'Marcus Aurelius' }).transaction(5000);
if (age) {
c1.modify({ age: age }).commit();
} else {
c1.rollback();
}
@tshemsedinov, any progress with this issue? It seems to be a vital part of database interface, because it is hard to create software without any guarantees of data consistency.
I see but do you need this feature for current project?