Sébastien Rombauts
cfe042dd41
Added the dealocation of the reference counter
...
- Suppressed the exception that can be thrown in those two destructors:
- Added documentation of those destructors
2012-04-17 10:26:23 +02:00
Sébastien Rombauts
fb1b17bfff
Added an easy wrapper Column Database::execAndGet("query"), version number increased to 0.3.0
2012-04-16 18:23:03 +02:00
Sébastien Rombauts
d516ea72c5
Column is again an independant class
2012-04-16 14:59:51 +02:00
Sébastien Rombauts
9c2544ef16
Added a reference counter to the SQLite Statement Object handle
...
- manages its lifespan (tracks ownerchip) across the copy to a Column object
2012-04-16 14:39:51 +02:00
Sébastien Rombauts
17124b3025
Added bind by name methods to the Statement class
...
- v0.2.0
- Added a Changelog file
- Updated the TODO file
2012-04-11 22:37:47 +02:00
Sébastien Rombauts
b3f5543063
Formatting for GitHub
2012-04-10 22:48:09 +02:00
Sébastien Rombauts
9d7c0cf616
Formating for github
2012-04-10 22:29:58 +02:00
Sébastien Rombauts
a72d11e213
Adding a second sample to demonstrate how to manage transaction
2012-04-10 22:22:39 +02:00
Sébastien Rombauts
bde2c175a7
Correction for Linux
2012-04-10 21:53:42 +02:00
Sebastien Rombauts
8cf6d8e8b8
Some more concurence analysis
2012-04-09 22:22:50 +02:00
Sebastien Rombauts
49f91bae6f
Added getLastInsertId() and detBusyTimout()
...
- corrected the VS2008 project
- updated the TODO file
2012-04-09 21:17:45 +02:00
Sébastien Rombauts
cc08116ccb
Simplifing the README, updating TODO and adding info to the concurrence list
2012-04-09 18:36:25 +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
37f3bd506f
sqdbpp review
2012-04-07 08:58:53 +02:00
Sébastien Rombauts
9b641a5f59
Minor additions
2012-04-06 18:08:04 +02:00
Sébastien Rombauts
74ffd41dec
Started a file to compare other C++ wrapers
2012-04-05 19:18:00 +02:00
Sebastien Rombauts
b1a1363e90
Simplifing Markdown formating to solve GitHub issues
2012-04-05 07:28:45 +02:00
Sébastien Rombauts
f05d1b4b68
Added a TODO list
0.1.0
2012-04-04 18:50:16 +02:00
Sébastien Rombauts
3b82360a45
Explaining goals of the project
2012-04-04 18:48:24 +02:00
Sébastien Rombauts
673acee670
Adding a version number like in sqlite3.h, starting with 0.1.0
2012-04-04 18:42:03 +02:00
Sébastien Rombauts
c4f041cb46
Added a simple RAII Transaction class
2012-04-04 15:24:36 +02:00
Sébastien Rombauts
acf27fd052
Some small spelling corrections
2012-04-04 14:50:21 +02:00
Sébastien Rombauts
3ef58a7e0c
Linux compilation : remove(filename) instead of std::remove(filename)
2012-04-04 14:29:18 +02:00
Sébastien Rombauts
dce8466f1e
Added a short description on the RAII design
2012-04-04 14:12:38 +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
Sebastien Rombauts
4274b662a6
Corrected example for Windows
2012-04-02 21:31:28 +02:00
Sébastien Rombauts
a868afa4e2
Removing Collumn.o from Makefile
2012-04-02 20:58:41 +02:00
Sébastien Rombauts
bad420cffa
Simplifing the code sample for GitHub formating
2012-04-02 19:27:36 +02:00
Sébastien Rombauts
83846c890b
Trying to correct markdown syntax for GitHub
2012-04-02 19:24:38 +02:00
Sébastien Rombauts
217ade3ca6
Trying to correct markdow formating for GitHub
2012-04-02 19:21:55 +02:00
Sébastien Rombauts
8fd560ad7d
Trying to correct markdown formating for GitHub
2012-04-02 19:12:05 +02:00
Sébastien Rombauts
172d32a871
Converting README to the markdown extension fot GitHub main page
2012-04-02 19:09:51 +02:00
Sébastien Rombauts
8d62ab4654
Better readme file, with small example.
...
- better formating, with Markdown style
- small/clean extract of the examples in main.cpp
2012-04-02 19:06:51 +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
Sébastien Rombauts
68bf74e0a5
Updated Makefile and added Eclipse project
2012-04-02 14:09:53 +02:00
Sébastien Rombauts
716a50be78
Added inline cast operators to the Column::getXxx() appropriate functions
...
+ added a standard std::ostream inserter
2012-04-02 13:09:19 +02:00
Sébastien Rombauts
4288cb511e
Moving all methods getColumnXxx() to an intermediate Column object
2012-04-02 09:43:36 +02:00
Sébastien Rombauts
39db797186
Database and Statement objects must not be copied
2012-04-02 09:10:18 +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
00d6be86bc
Added getColumnXxx() method to access the result
...
- the wrapper is starting to be usefull
2012-04-01 11:07:03 +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
Sebastien Rombauts
d72d029aba
Moving function code into a cpp file
2012-03-31 13:36:30 +02:00
Sebastien Rombauts
30562dcdab
Cleanups tasks :
...
- MIT License file and header
- small README
- Renaming to SQLiteC++
2012-03-31 13:21:46 +02:00
Sebastien Rombauts
8d93693e88
Implementation of a SQLite Statement
...
- Added an "example.db3" simple database
- Comments
2012-03-31 09:59:11 +02:00
Sebastien Rombauts
a6cbeedbeb
Added a Visual Studio Solution
...
- Added the sqlite3 source (easier for Windows dev)
2012-03-31 08:02:44 +02:00
Sébastien Rombauts
733c92e753
Start of a new thin C++ header only SQLite wrapper
2012-03-30 22:31:22 +02:00