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

Method fieldValue16

src/database/cppsqlite3.cpp:209–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 return fieldValue(nField);
208}
209const unsigned short* CppSQLite3Query::fieldValue16(const CString& szField)
210{
211 checkVM();
212
213 int nField = fieldIndex(szField);
214 if (nField < 0 || nField > mnCols-1)
215 {
216 throw CppSQLite3Exception(CPPSQLITE_ERROR, "Invalid field index requested");
217 }
218
219 return (const unsigned short*)sqlite3_column_text16(mpVM, nField);
220}
221
222
223int CppSQLite3Query::getIntField(int nField, int nNullValue/*=0*/)

Callers

nothing calls this directly

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected