SQLiteCpp
SQLiteCpp copied to clipboard
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
Hi, I was trying to bind an SQLite::Statement with `?` to the type `long long`, with member function `bind(1, i)`. But there's a compiler error, I had to cast the...
` SQLite::Database(databaseName, SQLite::OPEN_CREATE | SQLite::OPEN_READWRITE)); SQLite::Database(std::filesystem::path("/a/b/abc.db"), SQLite::OPEN_CREATE | SQLite::OPEN_READWRITE);` Whenever i tried to create database on disk and provides a path (relative or absolute) and the directory(s) does not exists...
I encountered the following error in CentOS 7 with Clang version 7. - OS : CentOS 7 - Compiler : llvm-toolset-7.0-clang - SQLiteCpp Version : 3.3.1 ./build.sh -- The C...
Serialization of a simple type like int/char etc can be very short, use std::vector or something may overkill because of the memory allocation. std::string is a good choice since it...
Using nm -gC libSQLiteCpp.a | grep SQLite::Statement::bind to get the result. U SQLite::Statement::bind(int, char const*) U SQLite::Statement::bind(int, std::string const&) 0000000000000594 T SQLite::Statement::bindNoCopy(int, char const*) 00000000000005e6 T SQLite::Statement::bindNoCopy(int, void const*, int)...
https://github.com/mesonbuild/meson https://github.com/mesonbuild/meson/wiki https://github.com/mesonbuild/meson/wiki/Adding%20new%20projects%20to%20wrapdb http://wrapdb.mesonbuild.com/ Meson simplifies the entire build process for us, it would be great if `SQLiteCpp` is available there. Sqlite is already present in wrapdb, so you could...
When configuring with `-DSQLITE_ENABLE_ASSERT_HANDLER:BOOL=ON` (and building static libs) the example1 fails to build on MSVC with > main.obj : error LNK2019: unresolved external symbol "void __cdecl SQLite::assertion_failed(char const *,int,char const...
``` const int lengthInBytes = static_cast(sizeof(uint8_t) * binary->raw().size()); insert.bind(1, binary->raw().data(), lengthInBytes); ``` Would be nice if the API took size_t or something so that I don't have to narrow it....
On orin(QNIX), it stops while running and shows some messy code and unreadable code(s) with 'cannot execute: No such file or directory' and 'syntax error: 'xxxxx' unexpected' in them.