libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
composite.hxx File Reference
#include <optional>
#include "pqxx/internal/array-composite.hxx"
#include "pqxx/internal/concat.hxx"
#include "pqxx/util.hxx"

Go to the source code of this file.

Namespaces

namespace  pqxx
 The home of all libpqxx classes, functions, templates, etc.
namespace  pqxx::internal
 Internal items for libpqxx' own use. Do not use these yourself.

Functions

template<typename... T>
void pqxx::parse_composite (pqxx::internal::encoding_group enc, std::string_view text, T &...fields)
 Parse a string representation of a value of a composite type.
template<typename... T>
void pqxx::parse_composite (std::string_view text, T &...fields)
 Parse a string representation of a value of a composite type.
template<typename... T>
std::size_t pqxx::composite_size_buffer (T const &...fields) noexcept
 Estimate the buffer size needed to represent a value of a composite type.
template<typename... T>
char * pqxx::composite_into_buf (char *begin, char *end, T const &...fields)
 Render a series of values as a single composite SQL value.

Variables

constexpr char pqxx::internal::empty_composite_str [] {"()"}