sqlite_modern_cpp
sqlite_modern_cpp copied to clipboard
The C++14 wrapper around sqlite library
Often we need a statement where only some bound parameters change with every use. Currently we clear bindings every time we reset the bindings so we have to bind all...
Allows the user to specify to use SQLite_static instead of transient all the time. In reference to @aminroosta comment about the interface on #167, I would argue this interface is...
Hi, got that warning. In sqlite_modern_cpp.h line 151 to 156. Code was: ` template operator std::tuple() { std::tuple value; *this >> value; return value; }` Changing it to: ` template...
Testing with latest GCC git master (8.0.1) results in errors such as: ``` tests/flags.cc: In function ‘int main()’: tests/flags.cc:99:25: error: catching polymorphic type ‘class sqlite::sqlite_exception’ by value [-Werror=catch-value=] catch(sqlite_exception e)...
Greetings! I have a small suggestion: in the course of using the library I discovered that I wasn't able to use the get_col_from_db(..) methods for accessing individual columns in a...
@zauguin @Killili Please review this PR :-) There might be a better approach, so far i've came up with this. #122
We add the ability to force the end of a prepared statement with `endr` and the ability to give functions to them.
It would be nice to get some read access to `_inx` field of `sqlite::database_binder` class by adding public: current_index() const { return _inx; }; to that `class database_binder` I'm trying...
Since `database_binder::chain_type` is essentially a prepared statement, it would be useful to have access to the last insert row id from such an object, for instance when storing it on...