libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
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_streambuf< CHAR, TRAITS >
class  pqxx::basic_fieldstream< CHAR, TRAITS >
 Input stream that gets its data from a result field. More...

Namespaces

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

Typedefs

using pqxx::fieldstream = basic_fieldstream<char>

Functions

class pqxx::__attribute__ ((visibility("default"))) array_parser
 Low-level parser for C++ arrays.
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.
template<typename T>
pqxx::from_string (field const &value)
 Convert a field's value to type T.
template<>
std::nullptr_t pqxx::from_string< std::nullptr_t > (field const &value)
 Convert a field's value to nullptr_t.