Definition postgres_connection.hpp:24
const pqxx::connection & connection() const
Definition postgres_connection.hpp:35
bool is_open() const
Definition postgres_connection.hpp:37
PostgresConnection(const PostgresConnection &)=delete
PostgresConnection & operator=(const PostgresConnection &)=delete
~PostgresConnection()=default
PostgresConnection(PostgresConnection &&) noexcept=default
pqxx::connection & connection()
Definition postgres_connection.hpp:34
Definition commands.hpp:16
void DropTableIfExists(pqxx::connection &conn, const std::string &table_name)
Definition postgres_connection.cpp:55
bool TableExists(pqxx::connection &conn, const std::string &table_name)
Definition postgres_connection.cpp:44
std::string QuoteIdentifier(const std::string &identifier)
Definition postgres_connection.cpp:29
Definition postgres_connection.hpp:12
std::string to_connection_string() const
Definition postgres_connection.cpp:10
std::string user
Definition postgres_connection.hpp:16
std::string host
Definition postgres_connection.hpp:13
std::string password
Definition postgres_connection.hpp:17
std::string database
Definition postgres_connection.hpp:15
int port
Definition postgres_connection.hpp:14