Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

mozIStorageStatementRow

This interface has no defined properties, but has properties based on the name of the columns in the SQL result from the statement it was accessed off of.  For example, say you create a statement like so:

var statement = dbConn.createStatement("SELECT id, name FROM table_name");  

The object would have two properties, id and name, that can be used to get the value of the column after you have called mozIStorageStatement.executeStep() like so:

while (statement.executeStep()) {
  let id = statement.row.id;
  let name = statement.row.name;
}

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, sdwilsh, Arehman4
 Last updated by: Sheppy,