| 807 | |
| 808 | |
| 809 | bool CppSQLite3DB::tableExists(const CString& strTable) |
| 810 | { |
| 811 | CString strSQL = WizFormatString1(_T("select count(*) from sqlite_master where type='table' and name='%1'"), strTable); |
| 812 | int nRet = execScalar(strSQL); |
| 813 | return (nRet > 0); |
| 814 | } |
| 815 | |
| 816 | bool CppSQLite3DB::columnExists(const CString& strTable, const CString& strColumn) |
| 817 | { |
no test coverage detected