libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
types.hxx File Reference
#include <cstddef>
#include <cstdint>
#include <iterator>

Go to the source code of this file.

Classes

struct  pqxx::from_table_t
 Marker for stream_from constructors: "stream from table.". More...
struct  pqxx::from_query_t
 Marker for stream_from constructors: "stream from query.". More...

Namespaces

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

Macros

#define PQXX_RANGE_ARG   typename
 Template argument type for a range.
#define PQXX_CHAR_STRING_ARG   typename
 Template argument type for char_string.
#define PQXX_CHAR_STRINGS_ARG   typename
 Template argument type for char_strings.

Typedefs

using pqxx::result_size_type = int
 Number of rows in a result set.
using pqxx::result_difference_type = int
 Difference between result sizes.
using pqxx::row_size_type = int
 Number of fields in a row of database data.
using pqxx::row_difference_type = int
 Difference between row sizes.
using pqxx::field_size_type = std::size_t
 Number of bytes in a field of database data.
using pqxx::large_object_size_type = int64_t
 Number of bytes in a large object.
template<typename TYPE>
using pqxx::strip_t = std::remove_cv_t<std::remove_reference_t<TYPE>>
 Remove any constness, volatile, and reference-ness from a type.
template<typename CONTAINER>
using pqxx::value_type = strip_t<decltype(*std::begin(std::declval<CONTAINER>()))>
 The type of a container's elements.

Enumerations

enum class  pqxx::format : int { pqxx::text = 0 , pqxx::binary = 1 }
 Format code: is data text or binary? More...

Class Documentation

◆ pqxx::from_table_t

struct pqxx::from_table_t

Marker for stream_from constructors: "stream from table.".

Deprecated
Use stream_from::table() instead.

◆ pqxx::from_query_t

struct pqxx::from_query_t

Marker for stream_from constructors: "stream from query.".

Deprecated
Use stream_from::query() instead.

Macro Definition Documentation

◆ PQXX_CHAR_STRING_ARG

#define PQXX_CHAR_STRING_ARG   typename

Template argument type for char_string.

This is a concept, so only available in C++20 or better. In pre-C++20 environments it's just an alias for typename.

◆ PQXX_CHAR_STRINGS_ARG

#define PQXX_CHAR_STRINGS_ARG   typename

Template argument type for char_strings.

This is a concept, so only available in C++20 or better. In pre-C++20 environments it's just an alias for typename.

◆ PQXX_RANGE_ARG

#define PQXX_RANGE_ARG   typename

Template argument type for a range.

This is a concept, so only available in C++20 or better. In pre-C++20 environments it's just an alias for typename.