mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 02:36:04 -04:00

Should be safe, as long as you can guarantee the std::string exists while executing the query. Added an accessor to Column that returns a std::string, that can handle BLOB or TEXT values that contain null-bytes. Also more binding & Column cast support for uint32_t - fixes ambiguous overload errors when using unsigned-integer types. Note that I didn't use uint64_t, because unsigned 64-bit integers doesn't fit into SQLite (except for using int64_t and dealing with overflow with custom functions). Added a C++11 move constructor to Statement, to allow storing it inside STL containers (eg. vector).