'use strict'; function WebSQLRows(array) { this._array = array; this.length = array.length; } WebSQLRows.prototype.item = function (i) { return this._array[i]; }; function WebSQLResultSet(insertId, rowsAffected, rows) { this.insertId = insertId; this.rowsAffected = rowsAffected; this.rows = new WebSQLRows(rows); } module.exports = WebSQLResultSet;