userver: easy::PgDep Class Reference
Loading...
Searching...
No Matches
easy::PgDep Class Reference

#include <userver/easy.hpp>

Detailed Description

Dependency class that provides a PostgreSQL cluster client.

Definition at line 302 of file easy.hpp.

Public Member Functions

 PgDep (const components::ComponentContext &context)
 
storages::postgres::Clusterpg () const noexcept
 

Static Public Member Functions

static void RegisterOn (HttpBase &app)
 

Constructor & Destructor Documentation

◆ PgDep()

easy::PgDep::PgDep ( const components::ComponentContext & context)
explicit

Definition at line 188 of file easy.cpp.

Member Function Documentation

◆ pg()

storages::postgres::Cluster & easy::PgDep::pg ( ) const
inlinenoexcept

Definition at line 305 of file easy.hpp.

◆ RegisterOn()

void easy::PgDep::RegisterOn ( HttpBase & app)
static

Definition at line 196 of file easy.cpp.


The documentation for this class was generated from the following files: