|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
#include "postgresql_connection.hpp"#include <atomic>#include <chrono>#include <condition_variable>#include <format>#include <memory>#include <mutex>#include <optional>#include <queue>#include <string>#include <string_view>#include <vector>Go to the source code of this file.
Classes | |
| struct | relx::connection::PostgreSQLConnectionPoolConfig |
| Configuration for PostgreSQL connection pool. More... | |
| struct | relx::connection::ConnectionPoolError |
| Error type for connection pool operations. More... | |
| class | relx::connection::PostgreSQLConnectionPool |
| PostgreSQL connection pool that manages a collection of PostgreSQL connections. More... | |
| class | relx::connection::PostgreSQLConnectionPool::PooledConnection |
| A wrapper for a connection that automatically returns it to the pool. More... | |
Namespaces | |
| namespace | relx |
| relx database connection | |
| namespace | relx::connection |
Typedefs | |
| template<typename T > | |
| using | relx::connection::ConnectionPoolResult = std::expected< T, ConnectionPoolError > |
| Type alias for result of connection pool operations. | |
Functions | |
| std::string | relx::connection::format_error (const ConnectionPoolError &error) |
| Format a ConnectionPoolError for exception messages. | |