MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / bind

Method bind

src/database/cppsqlite3.cpp:636–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634
635
636void CppSQLite3Statement::bind(int nParam, const char* szValue)
637{
638 checkVM();
639 int nRes = sqlite3_bind_text(mpVM, nParam, szValue, -1, SQLITE_TRANSIENT);
640
641 if (nRes != SQLITE_OK)
642 {
643 throw CppSQLite3Exception(nRes, "Error binding string param");
644 }
645}
646
647
648void CppSQLite3Statement::bind(int nParam, const int nValue)

Callers 15

initSocketMethod · 0.80
updateBlobMethod · 0.80
insertBlobMethod · 0.80
boardcastMethod · 0.80
wizEditorForMac.jsFile · 0.80
pFunction · 0.80
aFunction · 0.80
tFunction · 0.80
wiz_template.jsFile · 0.80
rFunction · 0.80
aFunction · 0.80
underscore.jsFile · 0.80

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected