userver: storages::postgres::RowDescription Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::postgres::RowDescription Class Reference

#include <userver/storages/postgres/row.hpp>

Detailed Description

A wrapper for PGresult to access field descriptions.

Definition at line 27 of file row.hpp.

Public Member Functions

 RowDescription (detail::ResultWrapperPtr res)
 
void CheckBinaryFormat (const UserTypes &types) const
 

Constructor & Destructor Documentation

◆ RowDescription()

storages::postgres::RowDescription::RowDescription ( detail::ResultWrapperPtr res)
inline

Definition at line 29 of file row.hpp.

Member Function Documentation

◆ CheckBinaryFormat()

void storages::postgres::RowDescription::CheckBinaryFormat ( const UserTypes & types) const

Check that all fields can be read in binary format

Exceptions
NoBinaryParserif any of the fields doesn't have a binary parser

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