tntdb::PoolConnection Class Reference

#include <tntdb/impl/poolconnection.h>

Inheritance diagram for tntdb::PoolConnection:
tntdb::IConnection cxxtools::SimpleRefCounted

Public Member Functions

 PoolConnection (ConnectionPool::PoolObjectType connection)
 ~PoolConnection ()
virtual void beginTransaction ()
virtual void commitTransaction ()
virtual void rollbackTransaction ()
virtual size_type execute (const std::string &query)
virtual Result select (const std::string &query)
virtual Row selectRow (const std::string &query)
virtual Value selectValue (const std::string &query)
virtual Statement prepare (const std::string &query)
virtual Statement prepareWithLimit (const std::string &query, const std::string &limit, const std::string &offset)
virtual Statement prepareCached (const std::string &query, const std::string &key)
virtual Statement prepareCachedWithLimit (const std::string &query, const std::string &limit, const std::string &offset, const std::string &key)
virtual void clearStatementCache ()
virtual bool clearStatementCache (const std::string &key)
virtual bool ping ()
virtual long lastInsertId (const std::string &name)
virtual void lockTable (const std::string &tablename, bool exclusive)

Additional Inherited Members

- Public Types inherited from tntdb::IConnection
typedef unsigned size_type

Constructor & Destructor Documentation

tntdb::PoolConnection::PoolConnection ( ConnectionPool::PoolObjectType  connection)
tntdb::PoolConnection::~PoolConnection ( )

Member Function Documentation

virtual void tntdb::PoolConnection::beginTransaction ( )
virtual

Implements tntdb::IConnection.

virtual void tntdb::PoolConnection::clearStatementCache ( )
virtual

Implements tntdb::IConnection.

virtual bool tntdb::PoolConnection::clearStatementCache ( const std::string &  key)
virtual

Implements tntdb::IConnection.

virtual void tntdb::PoolConnection::commitTransaction ( )
virtual

Implements tntdb::IConnection.

virtual size_type tntdb::PoolConnection::execute ( const std::string &  query)
virtual

Implements tntdb::IConnection.

virtual long tntdb::PoolConnection::lastInsertId ( const std::string &  name)
virtual

Implements tntdb::IConnection.

virtual void tntdb::PoolConnection::lockTable ( const std::string &  tablename,
bool  exclusive 
)
virtual

Implements tntdb::IConnection.

virtual bool tntdb::PoolConnection::ping ( )
virtual

Implements tntdb::IConnection.

virtual Statement tntdb::PoolConnection::prepare ( const std::string &  query)
virtual

Implements tntdb::IConnection.

virtual Statement tntdb::PoolConnection::prepareCached ( const std::string &  query,
const std::string &  key 
)
virtual

Implements tntdb::IConnection.

virtual Statement tntdb::PoolConnection::prepareCachedWithLimit ( const std::string &  query,
const std::string &  limit,
const std::string &  offset,
const std::string &  key 
)
virtual

Implements tntdb::IConnection.

virtual Statement tntdb::PoolConnection::prepareWithLimit ( const std::string &  query,
const std::string &  limit,
const std::string &  offset 
)
virtual

Implements tntdb::IConnection.

virtual void tntdb::PoolConnection::rollbackTransaction ( )
virtual

Implements tntdb::IConnection.

virtual Result tntdb::PoolConnection::select ( const std::string &  query)
virtual

Implements tntdb::IConnection.

virtual Row tntdb::PoolConnection::selectRow ( const std::string &  query)
virtual

Implements tntdb::IConnection.

virtual Value tntdb::PoolConnection::selectValue ( const std::string &  query)
virtual

Implements tntdb::IConnection.


The documentation for this class was generated from the following file: