On Mon, Nov 15, 2010 at 11:29:49AM -0500, Chris Wolf scratched on the wall: > I am looking here: > > http://www.sqlite.org/c3ref/funclist.html > > ...and I don't see an API to return the last query's row count, > analogous to sqlite2_changes() for update > row counts.
Such a function does not exist for queries. > Or would I just count the number of invocations of > productive sqlite3_step() calls > (or count callback invocations via sqlite3_exec())? Correct. Query results are returned as they are calculated. The query doesn't know how many rows it will return until it is finished. -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Intelligence is like underwear: it is important that you have it, but showing it to the wrong people has the tendency to make them feel uncomfortable." -- Angela Johnson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users