relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
pgsql_async_wrapper.hpp File Reference
#include <chrono>
#include <expected>
#include <format>
#include <functional>
#include <iostream>
#include <memory>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <vector>
#include <boost/asio.hpp>
#include <boost/asio/awaitable.hpp>
#include <boost/asio/co_spawn.hpp>
#include <boost/asio/detached.hpp>
#include <boost/asio/posix/stream_descriptor.hpp>
#include <boost/asio/this_coro.hpp>
#include <boost/asio/use_awaitable.hpp>
#include <libpq-fe.h>

Go to the source code of this file.

Classes

struct  relx::pgsql_async_wrapper::PgError
 
class  relx::pgsql_async_wrapper::Result
 
class  relx::pgsql_async_wrapper::PreparedStatement
 
class  relx::pgsql_async_wrapper::Connection
 

Namespaces

namespace  relx
 relx database connection
 
namespace  relx::pgsql_async_wrapper
 

Typedefs

template<typename T >
using relx::pgsql_async_wrapper::PgResult = std::expected< T, PgError >
 

Enumerations

enum class  relx::pgsql_async_wrapper::IsolationLevel { relx::pgsql_async_wrapper::ReadUncommitted , relx::pgsql_async_wrapper::ReadCommitted , relx::pgsql_async_wrapper::RepeatableRead , relx::pgsql_async_wrapper::Serializable }
 

Functions

std::string relx::pgsql_async_wrapper::format_error (const PgError &error)
 Format a PgError for exception messages.