From 66cf354a65d707e2e1d22fa28d377d51fbaed85c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Sat, 9 Mar 2013 21:25:52 +0100 Subject: [PATCH] Updated changelog, TODO and a comment --- CHANGELOG.txt | 23 +++++++++++++++++++---- TODO.txt | 4 +++- src/SQLiteC++/Statement.h | 6 +++--- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 18a5125..826a6ee 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,15 +1,30 @@ -Fri Mar 30 +Mar 30 2012 Start of a new thin C++ SQLite wrapper -Mon Apr 2 +Apr 2 2012 The wrapper is functionnal Added documentation and examples Publication on GitHub -Version 0.1.0 - Wed Apr 4 +Version 0.1.0 - Apr 4 2012 Added a Database::exec() methode to execute simple SQL statement Added a version number like in sqlite3.h, starting with 0.1.0 -Version 0.2.0 - Wed Apr 11 +Version 0.2.0 - Apr 11 2012 Added getLastInsertId() and setBusyTimout() Added bind() by name methods + +Version 0.3.0 - Apr 16 2012 + Added an easy wrapper Database::execAngGet() + +Version 0.4.0 - Apr 23 2012 + Added a Database::tableExists() easy to use function + +Dec 10 2012 + Adding a Statement::exec() method to execute a one-step query with no expected result + +Version 0.5.0 - March 9 2013 + Added assert() on errors on destructors + Added getBytes() + Added getBlob(), getType() and isInteger/isFloat/isText/isBlob/isNull + Added bind() for binary blob data \ No newline at end of file diff --git a/TODO.txt b/TODO.txt index 333656e..50924e3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,9 +7,11 @@ Publish the Doxygen Documentation in the Github Pages (gh-pages branch) Missing test/example in v0.5.0: - BLOB : make an example with images stored in a row +- :memory: table Missing features in v0.5.0: -- make an example/test with image stored in a row +- bind a SQLITE_STATIC value (string/blob) +- bind a dynamic value with zerocopy (unlike SQLITE_TRANSIENT) with custom deleter - getColumnByName ? std::map getRow() ? Missing documentation in v0.5.0: diff --git a/src/SQLiteC++/Statement.h b/src/SQLiteC++/Statement.h index dd10e48..3879dde 100644 --- a/src/SQLiteC++/Statement.h +++ b/src/SQLiteC++/Statement.h @@ -163,9 +163,9 @@ public: /** * @brief Execute a one-step query with no expected result. * - * This exec() method is to use with precompiled statement that does not fetch results (INSERT, UPDATE, DELETE...). - * It is intended for similar usage as Database::exec(), but is able to reuse the precompiled underlying SQLite statement - * for better performances. + * This exec() method is for use with precompiled statement that does not fetch results (INSERT, UPDATE, DELETE...). + * It is intended for similar usage as Database::exec(), but it add the ability to bind() arguments to it. + * Combined with reusing the underlying precompiled SQLite statement, it allows better performances. * * @see executeStep() execute a step of the prepared query to fetch one row of results * @see Database::exec() is a shortcut to execute one or multiple statements without results