csvzall 0.4.0
CSV command-line tool and emerging C++ library
Loading...
Searching...
No Matches
csvzall::postgres::PostgresConnection Class Reference

#include <postgres_connection.hpp>

Public Member Functions

 PostgresConnection (const ConnectionConfig &config)
 
 ~PostgresConnection ()=default
 
 PostgresConnection (const PostgresConnection &)=delete
 
PostgresConnection & operator= (const PostgresConnection &)=delete
 
 PostgresConnection (PostgresConnection &&) noexcept=default
 
PostgresConnection & operator= (PostgresConnection &&) noexcept=default
 
pqxx::connection & connection ()
 
const pqxx::connection & connection () const
 
bool is_open () const
 

Constructor & Destructor Documentation

◆ PostgresConnection() [1/3]

csvzall::postgres::PostgresConnection::PostgresConnection ( const ConnectionConfig &  config)
explicit

◆ ~PostgresConnection()

csvzall::postgres::PostgresConnection::~PostgresConnection ( )
default

◆ PostgresConnection() [2/3]

csvzall::postgres::PostgresConnection::PostgresConnection ( const PostgresConnection &  )
delete

◆ PostgresConnection() [3/3]

csvzall::postgres::PostgresConnection::PostgresConnection ( PostgresConnection &&  )
defaultnoexcept

Member Function Documentation

◆ connection() [1/2]

pqxx::connection & csvzall::postgres::PostgresConnection::connection ( )
inline

◆ connection() [2/2]

const pqxx::connection & csvzall::postgres::PostgresConnection::connection ( ) const
inline

◆ is_open()

bool csvzall::postgres::PostgresConnection::is_open ( ) const
inline

◆ operator=() [1/2]

PostgresConnection & csvzall::postgres::PostgresConnection::operator= ( const PostgresConnection &  )
delete

◆ operator=() [2/2]

PostgresConnection & csvzall::postgres::PostgresConnection::operator= ( PostgresConnection &&  )
defaultnoexcept

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