13 #ifndef PQXX_H_CONNECTION 14 #define PQXX_H_CONNECTION 16 #include "pqxx/compiler-public.hxx" 17 #include "pqxx/compiler-internal-pre.hxx" 19 #include "pqxx/connectionpolicy.hxx" 20 #include "pqxx/basic_connection.hxx" 93 virtual handle do_startconnect(handle)
override;
111 virtual handle do_completeconnect(handle)
override;
134 virtual handle do_dropconnect(
handle) noexcept
override;
135 virtual bool is_ready(
handle)
const noexcept
override;
168 #include "pqxx/compiler-internal-post.hxx" The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:25
Connection policy; creates an immediate connection to a database.
Definition: connection.hxx:87
Base-class template for all libpqxx connection types.
Definition: basic_connection.hxx:45
Asynchronous connection policy; connects "in the background".
Definition: connection.hxx:126
connect_lazy(const std::string &opts)
Definition: connection.hxx:110
connect_direct(const std::string &opts)
Definition: connection.hxx:92
Definition: connectionpolicy.hxx:31
Lazy connection policy; causes connection to be deferred until first use.
Definition: connection.hxx:105
Nonfunctional, always-down connection policy for testing/debugging purposes.
Definition: connection.hxx:152
internal::pq::PGconn * handle
Definition: connectionpolicy.hxx:34
connect_null(const std::string &opts)
Definition: connection.hxx:155