| 467 | |
| 468 | |
| 469 | bool WizIndexBase::sqlToStringArray(const CString& strSQL, int nFieldIndex, CWizStdStringArray& arrayString) |
| 470 | { |
| 471 | try |
| 472 | { |
| 473 | CppSQLite3Query query = m_db.execQuery(strSQL); |
| 474 | while (!query.eof()) |
| 475 | { |
| 476 | CString strGUID = query.getStringField(nFieldIndex); |
| 477 | |
| 478 | arrayString.push_back(strGUID); |
| 479 | query.nextRow(); |
| 480 | } |
| 481 | return true; |
| 482 | } |
| 483 | catch (const CppSQLite3Exception& e) |
| 484 | { |
| 485 | return logSQLException(e, strSQL); |
| 486 | } |
| 487 | } |
| 488 | |
| 489 | |
| 490 | bool WizIndexBase::initDocumentExFields(CWizDocumentDataArray& arrayDocument, const CWizStdStringArray& arrayGUID, const std::map<QString, int>& mapDocumentIndex) |
nothing calls this directly
no test coverage detected