userver: storages::postgres::RowDescription Class Reference
Loading...
Searching...
No Matches
storages::postgres::RowDescription Class Reference

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

Detailed Description

A wrapper for PGresult to access field descriptions.

Definition at line 210 of file result_set.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 212 of file result_set.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: