function(config) {
                if (!this.active) {
                    Ext.Logger.error('Ext.device.sqlite.SQLTransaction#executeSql: An attempt was made to use a SQLTransaction that is no longer usable.');
                    return null;
                }

                if (config.sqlStatement == null) {
                    Ext.Logger.error('Ext.device.sqlite.SQLTransaction#executeSql: You must specify a `sqlStatement` for the transaction.');
                    return null;
                }

                this.statements.push({
                    sqlStatement: config.sqlStatement,
                    arguments: config.arguments,
                    callback: config.callback,
                    failure: config.failure,
                    scope: config.scope
                });
            }
function(config) {
                if (!this.active) {
                    Ext.Logger.error('Ext.device.sqlite.SQLTransaction#executeSql: An attempt was made to use a SQLTransaction that is no longer usable.');
                    return null;
                }

                if (config.sqlStatement == null) {
                    Ext.Logger.error('Ext.device.sqlite.SQLTransaction#executeSql: You must specify a `sqlStatement` for the transaction.');
                    return null;
                }

                this.statements.push({
                    sqlStatement: config.sqlStatement,
                    arguments: config.arguments,
                    callback: config.callback,
                    failure: config.failure,
                    scope: config.scope
                });
            }
function ( config ) { if ( ! this . active ) { Ext . Logger . error ( 'Ext.device.sqlite.SQLTransaction#executeSql: An attempt was made to use a SQLTransaction that is no longer usable.' ) ; return null ; } if ( config . sqlStatement == null ) { Ext . Logger . error ( 'Ext.device.sqlite.SQLTransaction#executeSql: You must specify a `sqlStatement` for the transaction.' ) ; return null ; } this . statements . push ( { sqlStatement : config . sqlStatement , arguments : config . arguments , callback : config . callback , failure : config . failure , scope : config . scope } ) ; }
Executes an SQL statement.

@param {Object} config
The object which contains the following config options:

@param {String} config.sqlStatement This is required.
The SQL statement to execute.

@param {Array} config.arguments This is optional.
The arguments array to bind each '?' placeholder in the SQL statement.

@param {Function} config.callback This is optional.
The callback to be called when the SQL statement succeeded.

@param {Ext.device.sqlite.SQLTransaction} config.callback.transaction
The transaction of the SQL statement.

@param {Ext.device.sqlite.SQLTransaction} config.callback.resultSet
The result of the SQL statement.

@param {Function} config.failure This is optional.
The callback to be called when an error occurred.
If the callback returns false, next SQL statement will be executed.

@param {Ext.device.sqlite.SQLTransaction} config.failure.transaction
The transaction of the SQL statement.

@param {Object} config.failure.error
The occurred error.

@param {Object} config.scope
The scope object
Executes an SQL statement .