SQLResultSet

SQLResultSet

Contains the results of an SQL query executed by SQLTransactionSync.executeSql. Accessed from SQLTransactionSync.executeSql function.

Constructor

new SQLResultSet()

Source:

Members

insertId :number

Description:
  • ID of the row that was just inserted. This is not applicable to read transactions. In some databases, such as SQL Server Compact, a value is only returned if the ID was auto-incremented by the database.

Source:

ID of the row that was just inserted. This is not applicable to read transactions. In some databases, such as SQL Server Compact, a value is only returned if the ID was auto-incremented by the database.

Type:
  • number

rows :Array.<Object>

Description:
  • An array of objects each of which represents one row of results. Only applies to read transactions. Each object will have fields whose names correspond to the names of the columns returned by the query.

Source:

An array of objects each of which represents one row of results. Only applies to read transactions. Each object will have fields whose names correspond to the names of the columns returned by the query.

Type:
  • Array.<Object>

rowsAffected :number

Description:
  • The number of rows affected by the query. This is not applicable to read transactions.

Source:

The number of rows affected by the query. This is not applicable to read transactions.

Type:
  • number