/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/database.h

  • Committer: edam
  • Date: 2010-07-23 09:17:03 UTC
  • Revision ID: edam@waxworlds.org-20100723091703-3siqjj6eeux9hupz
- added NEWS
- added library checks to configure.ac
- added query::iterators
- remove dependency that rows have on querys (since querys have to be dependent on rows for boost::iterator_facade to work)
- rows now have the handle to the sqlite3 statement and know a count of their row number
- added convenience function tht can be used to detect presence of sqlite3cc in other packages
- updated test-main
- renamed all subdir.mk files to emake.mk

Show diffs side-by-side

added added

removed removed

26
26
 
27
27
#include <sqlite3.h>
28
28
#include <boost/utility.hpp>
29
 
#include <string>
30
29
 
31
30
 
32
31
namespace sqlite
79
78
        void close();
80
79
 
81
80
        /**
82
 
         * Execute an SQL statement. An exception is thrown on error.
 
81
         * Execute an SQL statement.
83
82
         * @param sql an SQL statement in UTF-8
 
83
         * @return an sqlite error code
84
84
         * @see sqlite3_exc()
85
85
         */
86
 
        void exec(
 
86
        int exec(
87
87
                const std::string &sql );
88
88
 
89
89
        /**