/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-02-07 15:28:23 UTC
  • Revision ID: edam@waxworlds.org-20100207152823-42k206h6gwy7vla4
- fixed .am files so the library gets built!

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
54
53
                const std::string &filename );
55
54
 
56
55
        explicit database();
57
 
        virtual ~database();
 
56
        virtual ~database() throw( );
58
57
 
59
58
//______________________________________________________________________________
60
59
//                                                              public interface
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
        /**