Kexi API Documentation (2.0 alpha)

KexiDB::pqxxSqlConnectionInternal Class Reference

#include <pqxxconnection_p.h>

Inheritance diagram for KexiDB::pqxxSqlConnectionInternal:

KexiDB::ConnectionInternal List of all members.

Public Member Functions

 pqxxSqlConnectionInternal (Connection *conn)
virtual ~pqxxSqlConnectionInternal ()
virtual void storeResult ()
 stores last result's message

Public Attributes

pqxx::connection * pqxxsql
pqxx::result * res
KexiDB::ServerVersionInfoversion
 this is set in drv_connect(), so we can use it in drv_useDatabase() because pgsql really connects after "USE".
QString errmsg
 server-specific message of last operation
int resultCode
 result code of last operation on server

Constructor & Destructor Documentation

pqxxSqlConnectionInternal::pqxxSqlConnectionInternal Connection conn  ) 
 

Definition at line 34 of file pqxxconnection_p.cpp.

pqxxSqlConnectionInternal::~pqxxSqlConnectionInternal  )  [virtual]
 

Definition at line 43 of file pqxxconnection_p.cpp.


Member Function Documentation

void pqxxSqlConnectionInternal::storeResult  )  [virtual]
 

stores last result's message

Implements KexiDB::ConnectionInternal.

Definition at line 48 of file pqxxconnection_p.cpp.

References errmsg.


Member Data Documentation

QString KexiDB::pqxxSqlConnectionInternal::errmsg
 

server-specific message of last operation

Definition at line 59 of file pqxxconnection_p.h.

Referenced by KexiDB::pqxxSqlConnection::drv_commitTransaction(), KexiDB::pqxxSqlConnection::drv_executeSQL(), KexiDB::pqxxSqlConnection::drv_rollbackTransaction(), KexiDB::pqxxSqlConnection::drv_useDatabase(), KexiDB::pqxxSqlConnection::serverErrorMsg(), and storeResult().

pqxx::connection* KexiDB::pqxxSqlConnectionInternal::pqxxsql
 

Definition at line 53 of file pqxxconnection_p.h.

Referenced by KexiDB::pqxxSqlConnection::drv_closeDatabase(), KexiDB::pqxxSqlConnection::drv_isDatabaseUsed(), and KexiDB::pqxxSqlConnection::drv_useDatabase().

pqxx::result* KexiDB::pqxxSqlConnectionInternal::res
 

Definition at line 54 of file pqxxconnection_p.h.

Referenced by KexiDB::pqxxSqlConnection::drv_executeSQL(), KexiDB::pqxxSqlConnection::drv_getDatabasesList(), and KexiDB::pqxxSqlConnection::drv_lastInsertRowID().

int KexiDB::pqxxSqlConnectionInternal::resultCode
 

result code of last operation on server

Definition at line 60 of file pqxxconnection_p.h.

Referenced by KexiDB::pqxxSqlConnection::drv_clearServerResult(), and KexiDB::pqxxSqlConnection::serverResult().

KexiDB::ServerVersionInfo* KexiDB::pqxxSqlConnectionInternal::version
 

this is set in drv_connect(), so we can use it in drv_useDatabase() because pgsql really connects after "USE".

Definition at line 56 of file pqxxconnection_p.h.

Referenced by KexiDB::pqxxSqlConnection::drv_connect(), and KexiDB::pqxxSqlConnection::drv_useDatabase().


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