diff options
author | drh <drh@noemail.net> | 2002-04-12 10:08:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-04-12 10:08:59 +0000 |
commit | c8d30ac10998ef532f368524fc6be4eac81f4a43 (patch) | |
tree | 9a8765eea0b168b5ec1260551b4381d5a90d34f6 /www/tclsqlite.tcl | |
parent | b04a5d8768573f2bd257ee1ef7caa7bb550bac40 (diff) | |
download | sqlite-c8d30ac10998ef532f368524fc6be4eac81f4a43.tar.gz sqlite-c8d30ac10998ef532f368524fc6be4eac81f4a43.zip |
Fix for bug #15: Add the sqlite_changes() API function for retrieving the
number of rows that changed in the previous operation. (CVS 526)
FossilOrigin-Name: 6e71493b9dc77d508c3ce90562766789e87e6d80
Diffstat (limited to 'www/tclsqlite.tcl')
-rw-r--r-- | www/tclsqlite.tcl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/www/tclsqlite.tcl b/www/tclsqlite.tcl index f54069885..862966cd1 100644 --- a/www/tclsqlite.tcl +++ b/www/tclsqlite.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the tclsqlite.html file. # -set rcsid {$Id: tclsqlite.tcl,v 1.6 2002/01/16 21:00:28 drh Exp $} +set rcsid {$Id: tclsqlite.tcl,v 1.7 2002/04/12 10:09:00 drh Exp $} puts {<html> <head> @@ -50,12 +50,13 @@ the database is stored. <p> Once an SQLite database is open, it can be controlled using -methods of the <i>dbcmd</i>. There are currently 6 methods +methods of the <i>dbcmd</i>. There are currently 7 methods defined:</p> <p> <ul> <li> busy +<li> changes <li> close <li> complete <li> eval @@ -248,6 +249,12 @@ should return "1" if it wants SQLite to abandon the current operation. <p>The "last_insert_rowid" method returns an integer which is the ROWID of the most recently inserted database row.</p> +<h2>The "changes" method</h2> + +<p>The "changes" method returns an integer which is the number of rows +in the database that were inserted, deleted, and/or modified by the most +recent "eval" method.</p> + } puts { |