tntdb::IConnection Class Reference

#include <tntdb/iface/iconnection.h>

Inheritance diagram for tntdb::IConnection:
cxxtools::SimpleRefCounted tntdb::IStmtCacheConnection tntdb::PoolConnection tntdb::mysql::Connection tntdb::oracle::Connection tntdb::postgresql::Connection tntdb::replicate::Connection tntdb::sqlite::Connection

Public Types

typedef unsigned size_type

Public Member Functions

virtual void beginTransaction ()=0
virtual void commitTransaction ()=0
virtual void rollbackTransaction ()=0
virtual size_type execute (const std::string &query)=0
virtual Result select (const std::string &query)=0
virtual Row selectRow (const std::string &query)=0
virtual Value selectValue (const std::string &query)=0
virtual Statement prepare (const std::string &query)=0
virtual Statement prepareWithLimit (const std::string &query, const std::string &limit, const std::string &offset)=0
virtual Statement prepareCached (const std::string &query, const std::string &key)=0
virtual Statement prepareCachedWithLimit (const std::string &query, const std::string &limit, const std::string &offset, const std::string &key)=0
virtual void clearStatementCache ()=0
virtual bool clearStatementCache (const std::string &key)=0
virtual bool ping ()=0
virtual long lastInsertId (const std::string &name)=0
virtual void lockTable (const std::string &tablename, bool exclusive)=0
- Public Member Functions inherited from cxxtools::SimpleRefCounted
 SimpleRefCounted ()
 SimpleRefCounted (unsigned refs_)
virtual ~SimpleRefCounted ()
virtual unsigned addRef ()
virtual unsigned release ()
unsigned refs () const

Member Typedef Documentation

Member Function Documentation

virtual void tntdb::IConnection::clearStatementCache ( )
pure virtual
virtual bool tntdb::IConnection::clearStatementCache ( const std::string &  key)
pure virtual
virtual size_type tntdb::IConnection::execute ( const std::string &  query)
pure virtual
virtual long tntdb::IConnection::lastInsertId ( const std::string &  name)
pure virtual
virtual void tntdb::IConnection::lockTable ( const std::string &  tablename,
bool  exclusive 
)
pure virtual
virtual Statement tntdb::IConnection::prepare ( const std::string &  query)
pure virtual
virtual Statement tntdb::IConnection::prepareCached ( const std::string &  query,
const std::string &  key 
)
pure virtual
virtual Statement tntdb::IConnection::prepareCachedWithLimit ( const std::string &  query,
const std::string &  limit,
const std::string &  offset,
const std::string &  key 
)
pure virtual
virtual Statement tntdb::IConnection::prepareWithLimit ( const std::string &  query,
const std::string &  limit,
const std::string &  offset 
)
pure virtual
virtual void tntdb::IConnection::rollbackTransaction ( )
pure virtual
virtual Result tntdb::IConnection::select ( const std::string &  query)
pure virtual
virtual Row tntdb::IConnection::selectRow ( const std::string &  query)
pure virtual
virtual Value tntdb::IConnection::selectValue ( const std::string &  query)
pure virtual

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