11 Commits

Author SHA1 Message Date
Sébastien Rombauts
d516ea72c5 Column is again an independant class 2012-04-16 14:59:51 +02:00
Sébastien Rombauts
da95147cfa Removed the Statement registration list, adding unnecessary extra complexity 2012-04-09 11:30:46 +02:00
Sébastien Rombauts
acf27fd052 Some small spelling corrections 2012-04-04 14:50:21 +02:00
Sebastien Rombauts
c2003d0bd1 Added a simple Database::exec() methode to execute simple (multiple) SQL statement
- This can be used when no results are returned, in Data Manipulation Language SQL statements (like CREATE, INSERT, UPDATE, DROP)
2012-04-04 07:39:42 +02:00
Sebastien Rombauts
b17ea542d4 Giving access to the list of registered statements 2012-04-03 06:57:20 +02:00
Sébastien Rombauts
00a8e0a642 Moving Column to make it an inner class of Statement
- Column must not be used directly, only as a temporary Adapter of Statement::getColumn
- Adding an Object Oriented example in main.cpp
2012-04-02 19:02:45 +02:00
Sebastien Rombauts
9658ee7e16 Added a small private method Statement::check(ret)
- Throws a SQLite::Exception with the SQLite error message
2012-04-01 20:53:26 +02:00
Sebastien Rombauts
0a1520ced0 Added Statement::getColumnCount() and commented out the throw specifications (they are not usefull) 2012-03-31 17:45:40 +02:00
Sebastien Rombauts
abc1f7bfa3 Added binding function, and a simple example with an integer value 2012-03-31 17:33:27 +02:00
Sebastien Rombauts
047cbcf637 Added a SQLite::Exception class based on std::runtime_error
- Using SQLite::Exception instead of std::runtime_error
- Adding exception spec everywhere
- Simplifing the Database constructor parameters to simply use "flags"
2012-03-31 16:29:23 +02:00
Sebastien Rombauts
26f5b85c3a Clenup : dispatching wrapper in Database.* and Statement.* files 2012-03-31 13:52:45 +02:00