libpqxx
The C++ client library for PostgreSQL
field.hxx File Reference
#include <optional>
#include "pqxx/array.hxx"
#include "pqxx/composite.hxx"
#include "pqxx/result.hxx"
#include "pqxx/strconv.hxx"
#include "pqxx/types.hxx"

Go to the source code of this file.

Classes

class  pqxx::field
 Reference to a field in a result set. More...
 
class  pqxx::field_streambuf< CHAR, TRAITS >
 
class  pqxx::basic_fieldstream< CHAR, TRAITS >
 Input stream that gets its data from a result field. More...
 

Namespaces

 pqxx
 The home of all libpqxx classes, functions, templates, etc.
 

Typedefs

using pqxx::fieldstream = basic_fieldstream< char >
 

Functions

template<>
bool pqxx::field::to< std::string > (std::string &obj) const
 
template<>
bool pqxx::field::to< std::string > (std::string &obj, std::string const &default_value) const
 
template<>
bool pqxx::field::to< std::string_view > (std::string_view &obj) const
 
template<>
bool pqxx::field::to< std::string_view > (std::string_view &obj, std::string_view const &default_value) const
 
template<>
std::string_view pqxx::field::as< std::string_view > () const
 
template<>
std::string_view pqxx::field::as< std::string_view > (std::string_view const &default_value) const
 
template<typename CHAR >
std::basic_ostream< CHAR > & pqxx::operator<< (std::basic_ostream< CHAR > &s, field const &value)
 Write a result field to any type of stream. More...
 
template<typename T >
pqxx::from_string (field const &value)
 Convert a field's value to type T. More...
 
template<>
std::nullptr_t pqxx::from_string< std::nullptr_t > (field const &value)
 Convert a field's value to nullptr_t. More...
 
template<>
PQXX_LIBEXPORT std::string pqxx::to_string (field const &value)
 Convert a field to a string. More...