| 351 | } |
| 352 | |
| 353 | CString CppSQLite3Query::getStringField(int nField, const CString& szNullValue/*=""*/) |
| 354 | { |
| 355 | if (fieldDataType(nField) == SQLITE_NULL) |
| 356 | { |
| 357 | return szNullValue; |
| 358 | } |
| 359 | else |
| 360 | { |
| 361 | return CString::fromUtf8(fieldValue(nField)); |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | CString CppSQLite3Query::getStringField(const CString& szField, const CString& szNullValue/*=""*/) |
| 366 | { |
no outgoing calls
no test coverage detected