| 207 | return fieldValue(nField); |
| 208 | } |
| 209 | const 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 | |
| 223 | int CppSQLite3Query::getIntField(int nField, int nNullValue/*=0*/) |
nothing calls this directly
no test coverage detected