Class: SQLTransactionSync

SQLTransactionSync()

Provides methods for performing a database transaction that may consist of several queries. Accessed from DatabaseSync.transaction and DatabaseSync.readTransaction functions.

Constructor

new SQLTransactionSync()

Methods

executeSql(sqlStatement, parametersopt) → {SQLResultSet}

Execute the given SQL and return the result as an SQLResultSet object.

Parameters:
Name Type Attributes Description
sqlStatement String

SQL statement.

parameters Array.<String> <optional>

Array containing the arguments to substitute into the statement.

Returns:
Type
SQLResultSet