Public Member Functions | Public Attributes | List of all members
soci::postgresql_session_backend Struct Reference

#include <soci-postgresql.h>

Inheritance diagram for soci::postgresql_session_backend:
Inheritance graph
[legend]

Public Member Functions

virtual void begin ()
 
void clean_up ()
 
virtual void commit ()
 
void deallocate_prepared_statement (const std::string &statementName)
 
virtual std::string get_backend_name () const
 
virtual bool get_next_sequence_value (session &s, std::string const &sequence, long &value)
 
std::string get_next_statement_name ()
 
virtual postgresql_blob_backendmake_blob_backend ()
 
virtual postgresql_rowid_backendmake_rowid_backend ()
 
virtual postgresql_statement_backendmake_statement_backend ()
 
 postgresql_session_backend (connection_parameters const &parameters)
 
virtual void rollback ()
 
 ~postgresql_session_backend ()
 
- Public Member Functions inherited from soci::details::session_backend
virtual bool get_last_insert_id (session &, std::string const &, long &)
 
 session_backend ()
 
virtual ~session_backend ()
 

Public Attributes

PGconn * conn_
 
int statementCount_
 

Detailed Description

Definition at line 307 of file soci-postgresql.h.

Constructor & Destructor Documentation

postgresql_session_backend::postgresql_session_backend ( connection_parameters const &  parameters)

Definition at line 32 of file backends/postgresql/session.cpp.

postgresql_session_backend::~postgresql_session_backend ( )

Definition at line 53 of file backends/postgresql/session.cpp.

Member Function Documentation

void postgresql_session_backend::begin ( )
virtual

Implements soci::details::session_backend.

Definition at line 69 of file backends/postgresql/session.cpp.

void postgresql_session_backend::clean_up ( )

Definition at line 101 of file backends/postgresql/session.cpp.

void postgresql_session_backend::commit ( )
virtual

Implements soci::details::session_backend.

Definition at line 74 of file backends/postgresql/session.cpp.

void postgresql_session_backend::deallocate_prepared_statement ( const std::string &  statementName)

Definition at line 84 of file backends/postgresql/session.cpp.

virtual std::string soci::postgresql_session_backend::get_backend_name ( ) const
inlinevirtual

Implements soci::details::session_backend.

Definition at line 322 of file soci-postgresql.h.

bool postgresql_session_backend::get_next_sequence_value ( session s,
std::string const &  sequence,
long &  value 
)
virtual

Reimplemented from soci::details::session_backend.

Definition at line 93 of file backends/postgresql/session.cpp.

std::string postgresql_session_backend::get_next_statement_name ( )

Definition at line 110 of file backends/postgresql/session.cpp.

postgresql_blob_backend * postgresql_session_backend::make_blob_backend ( )
virtual

Implements soci::details::session_backend.

Definition at line 127 of file backends/postgresql/session.cpp.

postgresql_rowid_backend * postgresql_session_backend::make_rowid_backend ( )
virtual

Implements soci::details::session_backend.

Definition at line 122 of file backends/postgresql/session.cpp.

postgresql_statement_backend * postgresql_session_backend::make_statement_backend ( )
virtual

Implements soci::details::session_backend.

Definition at line 117 of file backends/postgresql/session.cpp.

void postgresql_session_backend::rollback ( )
virtual

Implements soci::details::session_backend.

Definition at line 79 of file backends/postgresql/session.cpp.

Member Data Documentation

PGconn* soci::postgresql_session_backend::conn_

Definition at line 333 of file soci-postgresql.h.

int soci::postgresql_session_backend::statementCount_

Definition at line 332 of file soci-postgresql.h.


The documentation for this struct was generated from the following files:


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41