kexi
KexiDB::SQLitePreparedStatement Class Reference
#include <sqlitepreparedstatement.h>
Inheritance diagram for KexiDB::SQLitePreparedStatement:

Detailed Description
Implementation of prepared statements for SQLite driver.Definition at line 30 of file sqlitepreparedstatement.h.
Public Member Functions | |
SQLitePreparedStatement (StatementType type, ConnectionInternal &conn, FieldList &fields) | |
virtual | ~SQLitePreparedStatement () |
virtual bool | execute () |
Public Attributes | |
sqlite_vm * | prepared_st_handle |
bool | m_resetRequired: 1 |
Constructor & Destructor Documentation
SQLitePreparedStatement::SQLitePreparedStatement | ( | StatementType | type, | |
ConnectionInternal & | conn, | |||
FieldList & | fields | |||
) |
SQLitePreparedStatement::~SQLitePreparedStatement | ( | ) | [virtual] |
Member Function Documentation
bool SQLitePreparedStatement::execute | ( | ) | [virtual] |
Executes the prepared statement. In most cases you will need to clear arguments after executing, using clearArguments(). A number arguments set up for the statement must be the same as a number of fields defined in the underlying database table.
- Returns:
- false on failure. Detailed error status can be obtained from KexiDB::Connection object used to create this statement.
Implements KexiDB::PreparedStatement.
Definition at line 66 of file sqlitepreparedstatement.cpp.
The documentation for this class was generated from the following files: