There is currently no way to call the functions
sqlite3_bind_blob64 and
sqlite3_bind_text64
through SQLiteCpp's Statement::bindCopy and Statement::bindNoCopy API
Please consider adding methods such as
void bindNoCopy(const int aIndex, const void* apValue, const uint64_t aSize64);
// or avoiding the potential ambiguous overload
void bindNoCopy64(const int aIndex, const void* apValue, const uint64_t aSize64);
Also, please note that static_casting the size of a string that is too long results in a bug
|
const int ret = sqlite3_bind_text(getPreparedStatement(), aIndex, aValue.c_str(), |
|
static_cast<int>(aValue.size()), SQLITE_TRANSIENT); |
There is currently no way to call the functions
sqlite3_bind_blob64andsqlite3_bind_text64through SQLiteCpp's
Statement::bindCopyandStatement::bindNoCopyAPIPlease consider adding methods such as
Also, please note that static_casting the size of a string that is too long results in a bug
SQLiteCpp/src/Statement.cpp
Lines 114 to 115 in 59a047b