hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::PostgresSettingQuery Class Reference

#include "postgres_setting_query.hpp"

Inheritance diagram for iroha::ametsuchi::PostgresSettingQuery:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::PostgresSettingQuery:
Collaboration graph

Public Member Functions

 PostgresSettingQuery (std::unique_ptr< soci::session > sql, logger::LoggerPtr log)
 
expected::Result< std::unique_ptr< const shared_model::validation::Settings >, std::string > get () override
 
- Public Member Functions inherited from iroha::ametsuchi::SettingQuery
virtual ~SettingQuery ()=default
 

Detailed Description

Class which implements SettingQuery with a Postgres backend.

Constructor & Destructor Documentation

◆ PostgresSettingQuery()

PostgresSettingQuery::PostgresSettingQuery ( std::unique_ptr< soci::session >  sql,
logger::LoggerPtr  log 
)

Member Function Documentation

◆ get()

iroha::expected::Result< std::unique_ptr< const shared_model::validation::Settings >, std::string > PostgresSettingQuery::get ( )
overridevirtual

Implements iroha::ametsuchi::SettingQuery.

Here is the call graph for this function:

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