| 189 | |
| 190 | |
| 191 | const 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 | |
| 204 | const char* CppSQLite3Query::fieldValue(const CString& szField) |
no test coverage detected