mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 02:06:02 -04:00
Minor update of README.md and some more TODO (eg. C++11 support)
This commit is contained in:
parent
c04593aa7e
commit
3f226983f0
@ -25,9 +25,10 @@ or copy at http://opensource.org/licenses/MIT)
|
|||||||
- to use API names sticking with those of the SQLite library
|
- to use API names sticking with those of the SQLite library
|
||||||
- to be well maintained
|
- to be well maintained
|
||||||
|
|
||||||
It is designed with the Resource Acquisition Is Initialization (RAII) idom
|
It is designed using the Resource Acquisition Is Initialization (RAII) idom
|
||||||
(see http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization),
|
(see http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization),
|
||||||
and throw exceptions in case of SQLite errors.
|
and throwing exceptions in case of SQLite errors (exept in destructors,
|
||||||
|
where assert() are used instead).
|
||||||
Each SQLiteC++ object must be constructed with a valid SQLite database connection,
|
Each SQLiteC++ object must be constructed with a valid SQLite database connection,
|
||||||
and then is always valid until destroyed.
|
and then is always valid until destroyed.
|
||||||
|
|
||||||
@ -44,12 +45,12 @@ And following IDEs/Compilers
|
|||||||
|
|
||||||
### Depandancies:
|
### Depandancies:
|
||||||
|
|
||||||
- a STL implementation (even an old one like VC6/eVC4 should work)
|
- a STL implementation (even an old one, like those provided with VC6/eVC4 should work)
|
||||||
- exception support (the class Exception inherit from std::runtime_error)
|
- exception support (the class Exception inherit from std::runtime_error)
|
||||||
- the SQLite library, either by linking to it dynamicaly or staticaly,
|
- the SQLite library, either by linking to it dynamicaly or staticaly,
|
||||||
or by adding its source file in your project code base (source code provided in src/sqlite3).
|
or by adding its source file in your project code base (source code provided in src/sqlite3).
|
||||||
|
|
||||||
To use it in your project, you only need to add the 6 SQLiteC++ source files
|
To use it in your project, you only need to add the 10 SQLiteC++ source files
|
||||||
in your project code base (not the main.cpp example file).
|
in your project code base (not the main.cpp example file).
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
15
TODO.txt
15
TODO.txt
@ -1,5 +1,15 @@
|
|||||||
Add a comparison of others C++ wrappers (code style, C++ design, in code documentation, tests, online documentation, examples, license, UTF-16)
|
Add a comparison of others C++ wrappers (code style, C++ design, in code documentation, tests, online documentation, examples, license, UTF-16)
|
||||||
|
|
||||||
|
C++11 explicit support
|
||||||
|
|
||||||
|
Adding an encapsulation to the statement ref counter
|
||||||
|
|
||||||
|
Using (optionnal) assert() on errors in destructors
|
||||||
|
|
||||||
|
copyright 2013
|
||||||
|
|
||||||
|
=> V0.5.0
|
||||||
|
|
||||||
Missing features in v0.4.0:
|
Missing features in v0.4.0:
|
||||||
- Blob
|
- Blob
|
||||||
- getColumnByName ? std::map getRow() ?
|
- getColumnByName ? std::map getRow() ?
|
||||||
@ -8,15 +18,14 @@ Missing documentation in v0.4.0:
|
|||||||
- Help for the new helper functions
|
- Help for the new helper functions
|
||||||
|
|
||||||
Advanced missing features:
|
Advanced missing features:
|
||||||
|
- :memory: : use the "zVfs" (last) parameter of sqlite3_open_v2() to give access to the ":memory:" VFS module
|
||||||
|
- backup support to/from :memory:
|
||||||
- batch mode managing multiple queries semicolon separated ?
|
- batch mode managing multiple queries semicolon separated ?
|
||||||
- Function ?
|
- Function ?
|
||||||
- Agregate ?
|
- Agregate ?
|
||||||
|
|
||||||
- support for different transaction mode ? NO: too specific
|
- support for different transaction mode ? NO: too specific
|
||||||
- operator<< binding ? NO: redundant with bind()
|
- operator<< binding ? NO: redundant with bind()
|
||||||
|
|
||||||
- ATTACH Database ? NO: can already be done by "ATTACH" Statement
|
- ATTACH Database ? NO: can already be done by "ATTACH" Statement
|
||||||
- :memory: ? NO: can already be done by Database constructor with ":memory:" filename
|
|
||||||
|
|
||||||
Add a full test suite
|
Add a full test suite
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user