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
arguments An optional parameter containing SQL arguments represented by question marks '?'. 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
sqlStatement The SQL statement to execute. The SQL specific to SQLite must be used. String

Related topics

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