Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
PostgresCoro.hpp File Reference
#include <orbit/database/PostgresClient.hpp>
#include <coroutine>
#include <memory>
#include <string>
Include dependency graph for PostgresCoro.hpp:

Go to the source code of this file.

Classes

struct  database::ConnectAwaiter
 A coroutine awaiter for connecting a PostgresClient asynchronously. More...
 
struct  database::QueryAwaiter
 A coroutine awaiter for executing a query on a PostgresClient asynchronously. More...
 

Namespaces

namespace  database
 

Functions

ConnectAwaiter database::connect_async (std::shared_ptr< PostgresClient > client)
 Creates an awaiter for connecting a PostgresClient.
 
QueryAwaiter database::query_async (std::shared_ptr< PostgresClient > client, const std::string &sql)
 Creates an awaiter for executing a query on a PostgresClient.