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()

Source:

Methods

executeSql(sqlStatement, parametersopt) → {SQLResultSet}

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

Source:
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