[html5] r842 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed May 23 14:31:28 PDT 2007


Author: ianh
Date: 2007-05-23 14:31:25 -0700 (Wed, 23 May 2007)
New Revision: 842

Modified:
   index
   source
Log:
[] (0) Define what happens when multiple rows are inserted at once.

Modified: index
===================================================================
--- index	2007-05-23 21:04:29 UTC (rev 841)
+++ index	2007-05-23 21:31:25 UTC (rev 842)
@@ -28065,9 +28065,10 @@
    title=dom-ResultSet-insertId><code>insertId</code></dfn> attribute must
    return the row ID of the row that the <code><a
    href="#resultset">ResultSet</a></code> object's SQL statement inserted
-   into the database, if the statement inserted a row. If the statement did
-   not insert a row, then the attribute must instead raise an
-   <code>INVALID_ACCESS_ERR</code> exception.
+   into the database, if the statement inserted a row. If the statement
+   inserted multiple rows, the ID of the last row must be the one returned.
+   If the statement did not insert a row, then the attribute must instead
+   raise an <code>INVALID_ACCESS_ERR</code> exception.
 
   <h4 id=privacy><span class=secno>4.12.4. </span>Privacy</h4>
 

Modified: source
===================================================================
--- source	2007-05-23 21:04:29 UTC (rev 841)
+++ source	2007-05-23 21:31:25 UTC (rev 842)
@@ -25575,9 +25575,10 @@
   title="dom-ResultSet-insertId"><code>insertId</code></dfn> attribute
   must return the row ID of the row that the <code>ResultSet</code>
   object's SQL statement inserted into the database, if the statement
-  inserted a row. If the statement did not insert a row, then the
-  attribute must instead raise an <code>INVALID_ACCESS_ERR</code>
-  exception.</p>
+  inserted a row. If the statement inserted multiple rows, the ID of
+  the last row must be the one returned. If the statement did not
+  insert a row, then the attribute must instead raise an
+  <code>INVALID_ACCESS_ERR</code> exception.</p>
 
 
   <h4>Privacy</h4>




More information about the Commit-Watchers mailing list