KexiDB::pqxxPreparedStatement Class Reference
#include <pqxxpreparedstatement.h>
Inheritance diagram for KexiDB::pqxxPreparedStatement:
Public Member Functions | |
| pqxxPreparedStatement (StatementType type, ConnectionInternal &conn, FieldList &fields) | |
| virtual bool | execute () |
Public Member Functions inherited from KexiDB::PreparedStatement | |
| PreparedStatement (StatementType type, ConnectionInternal &conn, FieldList &fields, const TQStringList &where=TQStringList()) | |
| PreparedStatement & | operator<< (const TQVariant &value) |
| void | clearArguments () |
Public Attributes | |
| bool | m_resetRequired: 1 |
Additional Inherited Members | |
Public Types inherited from KexiDB::PreparedStatement | |
| enum | StatementType { SelectStatement , InsertStatement } |
| typedef TDESharedPtr< PreparedStatement > | Ptr |
Protected Member Functions inherited from KexiDB::PreparedStatement | |
| TQCString | generateStatementString () |
Protected Attributes inherited from KexiDB::PreparedStatement | |
| StatementType | m_type |
| FieldList * | m_fields |
| TQValueList< TQVariant > | m_args |
| TQStringList * | m_where |
| Field::List * | m_whereFields |
Detailed Description
Definition at line 35 of file pqxxpreparedstatement.h.
Constructor & Destructor Documentation
◆ pqxxPreparedStatement()
| pqxxPreparedStatement::pqxxPreparedStatement | ( | StatementType | type, |
| ConnectionInternal & | conn, | ||
| FieldList & | fields | ||
| ) |
Definition at line 33 of file pqxxpreparedstatement.cpp.
◆ ~pqxxPreparedStatement()
|
virtual |
Definition at line 42 of file pqxxpreparedstatement.cpp.
Member Function Documentation
◆ 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.
Member Data Documentation
◆ m_resetRequired
| bool KexiDB::pqxxPreparedStatement::m_resetRequired |
Definition at line 43 of file pqxxpreparedstatement.h.
The documentation for this class was generated from the following files:

Public Member Functions inherited from