Definition at line 88 of file TableDataSourceSqliteDb.h. References mSqlDb. 00089 { 00090 00091 std::ostringstream os; 00092 os << "select " << field << " from cache where idx=(" << index << ");"; 00093 try 00094 { 00095 CppSQLite3Query q = mSqlDb->execQuery(os.str().c_str()); 00096 std::string val = q.getStringField(field.c_str()); 00097 return val; 00098 } catch (CppSQLite3Exception &e) 00099 { 00100 return ""; 00101 } 00102 }
|