kexi

KexiDB::MySqlPreparedStatement Class Reference

#include <mysqlpreparedstatement.h>

Inheritance diagram for KexiDB::MySqlPreparedStatement:

KexiDB::PreparedStatement

List of all members.


Detailed Description

Implementation of prepared statements for MySQL driver.

Definition at line 33 of file mysqlpreparedstatement.h.


Public Member Functions

 MySqlPreparedStatement (StatementType type, ConnectionInternal &conn, FieldList &fields)
virtual bool execute ()

Public Attributes

QCString m_tempStatementString
bool m_resetRequired: 1

Protected Member Functions

bool init ()
void done ()

Member Function Documentation

bool MySqlPreparedStatement::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 105 of file mysqlpreparedstatement.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys