kexi
sqlitepreparedstatement.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KEXIDB_SQLITEPREPAREDSTATEMENT_H
00021
00022 #define KEXIDB_SQLITEPREPAREDSTATEMENT_H
00023
00024 #include <kexidb/preparedstatement.h>
00025 #include "sqliteconnection_p.h"
00026
00027 namespace KexiDB {
00028
00030 class SQLitePreparedStatement : public PreparedStatement, SQLiteConnectionInternal
00031 {
00032 public:
00033 SQLitePreparedStatement(StatementType type, ConnectionInternal& conn,
00034 FieldList& fields);
00035
00036 virtual ~SQLitePreparedStatement();
00037
00038 virtual bool execute();
00039
00040 #ifdef SQLITE2
00041 sqlite_vm *prepared_st_handle;
00042 #else //SQLITE3
00043 sqlite3_stmt *prepared_st_handle;
00044 #endif
00045 bool m_resetRequired : 1;
00046 };
00047
00048 }
00049
00050 #endif
|