Context for the operations on a postgres database.
More...
#include <context.hpp>
|
|
using | connection_type = sqlgen::postgres::Connection |
| |
|
using | connection_pool_type = sqlgen::Result< sqlgen::ConnectionPool< connection_type > > |
| |
|
using | single_connection_type = sqlgen::Result< rfl::Ref< connection_type > > |
| |
|
|
| context (connection_pool_type connection_pool, single_connection_type single_connection, sqlgen::postgres::Credentials credentials) |
| |
|
connection_pool_type | connection_pool () |
| |
|
single_connection_type | single_connection () |
| |
|
const sqlgen::postgres::Credentials & | credentials () const |
| |
Context for the operations on a postgres database.