libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::internal::result_data Struct Reference

Information shared between all copies of a result set. More...

#include <result_data.hxx>

Collaboration diagram for pqxx::internal::result_data:

Public Member Functions

 result_data ()
 
 result_data (pqxx::internal::pq::PGresult *, int protocol, const PGSTD::string &, int encoding_code)
 
 ~result_data ()
 

Public Attributes

pqxx::internal::pq::PGresultdata
 Underlying libpq-managed result set. More...
 
int encoding_code
 
int protocol
 Frontend/backend protocol version. More...
 
PGSTD::string query
 Query string that yielded this result. More...
 

Detailed Description

Information shared between all copies of a result set.

Constructor & Destructor Documentation

pqxx::internal::result_data::result_data ( )
pqxx::internal::result_data::result_data ( pqxx::internal::pq::PGresult ,
int  protocol,
const PGSTD::string &  ,
int  encoding_code 
)
pqxx::internal::result_data::~result_data ( )

Member Data Documentation

pqxx::internal::pq::PGresult* pqxx::internal::result_data::data

Underlying libpq-managed result set.

Warning
This member is duplicated in the result object as a performance shortcut.
int pqxx::internal::result_data::encoding_code
int pqxx::internal::result_data::protocol

Frontend/backend protocol version.

PGSTD::string pqxx::internal::result_data::query

Query string that yielded this result.


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