MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / addString

Method addString

sources/db/SQLite.cpp:251–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251bool SqlQuery::addString(QString s)
252{
253 const QByteArray& ar = s.toUtf8().constData();
254 auto result = sqlite3_bind_text(_prepared, _paramIndex++, ar.data(), ar.size(), SQLITE_TRANSIENT);
255 return result == SQLITE_OK;
256}
257
258SqlRecord SqlQuery::record()
259{

Callers 1

doAddBindValueMethod · 0.80

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected