executeSql


Purpose

Executes an SQL statement with the specified parameters. This method is used for both read and write SQL statements.

Signature

executeSql(sqlStatement, arguments, callback, errorCallback)

Returns

This method does not return anything.

Parameter

Name Description Type
sqlStatement The SQL statement to execute. The SQL specific to SQLite must be used. String
arguments An optional parameter containing SQL arguments represented by question mark ("?") signs. ObjectArray
callback An optional callback object containing a method to process the results of queries. The callback receives the transaction object and the resultSet object. SQLStatementCallback
errorCallback An optional callback object containing a method to be invoked when the executeSql() method fails. SQLStatementErrorCallback

Note

Due to platform limitations, the arguments parameter does not support infinity values.

Related topics

SQLStorage.SQLTransaction
Overview
Web SQL Database
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...