Kexi API Documentation (2.0 alpha)

KexiDB::pqxxPreparedStatement Class Reference

#include <pqxxpreparedstatement.h>

Inheritance diagram for KexiDB::pqxxPreparedStatement:

KexiDB::PreparedStatement KShared List of all members.

Detailed Description

Author:
Adam Pigg <adam@piggz.co.uk>

Definition at line 35 of file pqxxpreparedstatement.h.

Public Member Functions

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

Public Attributes

bool m_resetRequired: 1


Constructor & Destructor Documentation

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

Definition at line 33 of file pqxxpreparedstatement.cpp.

pqxxPreparedStatement::~pqxxPreparedStatement  )  [virtual]
 

Definition at line 42 of file pqxxpreparedstatement.cpp.


Member Function Documentation

bool pqxxPreparedStatement::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 46 of file pqxxpreparedstatement.cpp.

References KexiDB::Connection::insertRecord(), KexiDB::PreparedStatement::m_args, KexiDB::PreparedStatement::m_fields, and m_resetRequired.


Member Data Documentation

bool KexiDB::pqxxPreparedStatement::m_resetRequired
 

Definition at line 43 of file pqxxpreparedstatement.h.

Referenced by execute().


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:42 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003