Skip to content

TRANSACTION

Mathias Rangel Wulff edited this page Jun 13, 2015 · 3 revisions

Keyword TRANSACTION

The keyword TRANSACTION is optional

Begin

    alasql('BEGIN');
    alasql('BEGIN TRANSACTION');

Commit

    alasql('COMMIT');
    alasql('COMMIT TRANSACTION');

Rollback

    alasql('ROLLBACK');
    alasql('ROLLBACK TRANSACTION');

Transaction realization

In version 0.0.35 AlaSQL supports transactions only for Local Storage and DOM-storage database. Full support for other databases will be available in future versions

See also: COMMIT, ROLLBACK

Clone this wiki locally