93 virtual bool connect(
const std::string& param )
override;
94 bool connect(
const std::string& dbfile,
bool create,
int extra_sqlite_flags = 0 );
95 virtual bool close()
override;
96 virtual bool isConnection()
const override;
97 virtual bool ping()
const override;
99 void setOperationTimeout( timeout_t msec );
100 inline timeout_t getOperationTimeout()
105 inline void setOperationCheckPause( timeout_t msec )
109 inline timeout_t getOperationCheckPause()
114 virtual DBResult query(
const std::string& q )
override;
115 virtual const std::string lastQuery()
override;
116 bool lastQueryOK()
const;
118 virtual bool insert(
const std::string& q )
override;
119 virtual double insert_id()
override;
121 virtual const std::string error()
override;
125 bool wait( sqlite3_stmt* stmt,
int result );
126 static bool checkResult(
int rc );
130 DBResult makeResult( sqlite3_stmt* s,
bool finalize =
true );
140 timeout_t opCheckPause;