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

Method getColumnLength

src/database/cppsqlite3.cpp:371–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371int CppSQLite3Query::getColumnLength(int nField)
372{
373 checkVM();
374
375 if (nField < 0 || nField > mnCols-1)
376 {
377 throw CppSQLite3Exception(CPPSQLITE_ERROR, "Invalid field index requested");
378 }
379
380 int nLen = sqlite3_column_bytes(mpVM, nField);
381 //
382 return nLen;
383}
384const unsigned char* CppSQLite3Query::getBlobField(int nField, int& nLen)
385{
386 checkVM();

Callers

nothing calls this directly

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected