Kexi API Documentation (2.0 alpha)

KexiDB::SQLitePreparedStatement Class Reference

#include <sqlitepreparedstatement.h>

Inheritance diagram for KexiDB::SQLitePreparedStatement:

KexiDB::PreparedStatement KexiDB::SQLiteConnectionInternal KShared List of all members.

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_vmprepared_st_handle
bool m_resetRequired: 1


Constructor & Destructor Documentation

SQLitePreparedStatement::SQLitePreparedStatement StatementType  type,
ConnectionInternal conn,
FieldList fields
 

Todo:

Definition at line 27 of file sqlitepreparedstatement.cpp.

References KexiDB::SQLiteConnectionInternal::data, KexiDB::SQLiteConnectionInternal::data_owned, KexiDB::PreparedStatement::generateStatementString(), prepared_st_handle, KexiDB::SQLiteConnectionInternal::res, SQLITE_OK, and KexiDB::SQLiteConnectionInternal::temp_st.

SQLitePreparedStatement::~SQLitePreparedStatement  )  [virtual]
 

Todo:

Definition at line 56 of file sqlitepreparedstatement.cpp.

References prepared_st_handle.


Member Function Documentation

bool SQLitePreparedStatement::execute  )  [virtual]
 

Todo:

Implements KexiDB::PreparedStatement.

Definition at line 66 of file sqlitepreparedstatement.cpp.

References KexiDB::_dummy, KexiDB::Field::BigInteger, KexiDB::Field::BLOB, KexiDB::Field::Boolean, KexiDB::Field::Byte, KexiDB::Field::Date, KexiDB::Field::DateTime, KexiDB::Field::Double, field, KexiDB::FieldList::fieldsIterator(), KexiDB::Field::Float, KexiDB::PreparedStatement::InsertStatement, KexiDB::Field::Integer, KexiDB::Field::isTextType(), KexiDBWarn, KexiDB::PreparedStatement::m_args, KexiDB::PreparedStatement::m_fields, m_resetRequired, KexiDB::PreparedStatement::m_type, KexiDB::PreparedStatement::m_whereFields, prepared_st_handle, KexiDB::SQLiteConnectionInternal::res, KexiDB::PreparedStatement::SelectStatement, KexiDB::Field::ShortInteger, SQLITE_DONE, SQLITE_OK, KexiDB::Field::Time, and KexiDB::Field::type().


Member Data Documentation

bool KexiDB::SQLitePreparedStatement::m_resetRequired
 

Definition at line 45 of file sqlitepreparedstatement.h.

Referenced by execute().

sqlite_vm* KexiDB::SQLitePreparedStatement::prepared_st_handle
 

Definition at line 41 of file sqlitepreparedstatement.h.

Referenced by execute(), SQLitePreparedStatement(), and ~SQLitePreparedStatement().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:43 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003