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

Method getBlobField

src/database/cppsqlite3.cpp:384–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382 return nLen;
383}
384const unsigned char* CppSQLite3Query::getBlobField(int nField, int& nLen)
385{
386 checkVM();
387
388 if (nField < 0 || nField > mnCols-1)
389 {
390 throw CppSQLite3Exception(CPPSQLITE_ERROR, "Invalid field index requested");
391 }
392
393 nLen = sqlite3_column_bytes(mpVM, nField);
394 return (const unsigned char*)sqlite3_column_blob(mpVM, nField);
395}
396
397
398const unsigned char* CppSQLite3Query::getBlobField(const CString& szField, int& nLen)

Callers 1

abstractFromGuidMethod · 0.80

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected