Updated Branches:
  refs/heads/master 264b3cf29 -> 0634d0013

Fixed CB-241 - Misspelling at SQLResultSet on API document


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/0634d001
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/0634d001
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/0634d001

Branch: refs/heads/master
Commit: 0634d00137f0100d1c0177e399ceceedb49727f4
Parents: 264b3cf
Author: Shazron Abdullah <shaz...@gmail.com>
Authored: Fri Apr 6 01:48:29 2012 -0700
Committer: Shazron Abdullah <shaz...@gmail.com>
Committed: Fri Apr 6 01:48:29 2012 -0700

----------------------------------------------------------------------
 .../cordova/storage/sqlresultset/sqlresultset.md   |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/0634d001/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md 
b/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
index 4fb46c8..c8d14ce 100644
--- a/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
+++ b/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
@@ -7,13 +7,13 @@ Properties
 -------
 
 - __insertId__: the row ID of the row that the SQLResultSet object's SQL 
statement inserted into the database
-- __rowAffected__: the number of rows that were changed by the SQL statement.  
If the statement did not affect any rows then it is set to 0. 
+- __rowsAffected__: the number of rows that were changed by the SQL statement. 
 If the statement did not affect any rows then it is set to 0. 
 - __rows__: a SQLResultSetRowList representing the rows returned.  If no rows 
are returned the object will be empty.
 
 Details
 -------
 
-When you call the SQLTransaction executeSql method it's callback methods will 
be called with a SQLResultSet object.  The result object has three properties.  
The first is the `insertId` which will return the row number of a success SQL 
insert statement.  If the SQL statement is not an insert then the `insertId` is 
not set.  The `rowAffected` is always 0 for a SQL select statement.  For insert 
or update statements it returns the number of rows that have been modified.  
The final property is of type SQLResultSetList and it contains the data 
returned from a SQL select statement.
+When you call the SQLTransaction executeSql method it's callback methods will 
be called with a SQLResultSet object.  The result object has three properties.  
The first is the `insertId` which will return the row number of a success SQL 
insert statement.  If the SQL statement is not an insert then the `insertId` is 
not set.  The `rowsAffected` is always 0 for a SQL select statement.  For 
insert or update statements it returns the number of rows that have been 
modified.  The final property is of type SQLResultSetList and it contains the 
data returned from a SQL select statement.
 
 Supported Platforms
 -------------------
@@ -33,7 +33,7 @@ Execute SQL Quick Example
                // this will be empty since no rows were inserted.
                console.log("Insert ID = " + results.insertId);
                // this will be 0 since it is a select statement
-               console.log("Rows Affected = " + results.rowAffected);
+               console.log("Rows Affected = " + results.rowsAffected);
                // the number of rows returned by the select statement
                console.log("Insert ID = " + results.rows.length);
        }
@@ -81,7 +81,7 @@ Full Example
                        // this will be empty since no rows were inserted.
                        console.log("Insert ID = " + results.insertId);
                        // this will be 0 since it is a select statement
-                       console.log("Rows Affected = " + results.rowAffected);
+                       console.log("Rows Affected = " + results.rowsAffected);
                        // the number of rows returned by the select statement
                        console.log("Insert ID = " + results.rows.length);
                }

Reply via email to