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

Method fieldValue

src/database/cppsqlite3.cpp:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191const char* CppSQLite3Query::fieldValue(int nField)
192{
193 checkVM();
194
195 if (nField < 0 || nField > mnCols-1)
196 {
197 throw CppSQLite3Exception(CPPSQLITE_ERROR, "Invalid field index requested");
198 }
199
200 return (const char*)sqlite3_column_text(mpVM, nField);
201}
202
203
204const char* CppSQLite3Query::fieldValue(const CString& szField)

Callers 1

execScalarMethod · 0.80

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected