/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/query.h

  • Committer: edam
  • Date: 2012-04-23 18:40:10 UTC
  • Revision ID: tim@ed.am-20120423184010-3zaiqkhxwequfaey
Removed an optimisation in command::step() (calling finalize() here prevents
the command from being reset() and reused), and added a wrapper for a
transaction's begin() method to transaction_guard (both thanks to Ron Wilson).

Show diffs side-by-side

added added

removed removed

115
115
         * SQL like this: "SELECT COUNT(*) ...", but this only causes SQLite to
116
116
         * internally do the same counting as this method does.  Also note that this
117
117
         * method reset()s the query.
118
 
         *
119
 
         * @returns the number of results
120
118
         */
121
119
        unsigned long long num_results();
122
120