userver: storages::postgres::io::CppToUserPg< T > Struct Template Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::postgres::io::CppToUserPg< T > Struct Template Reference

Table of Contents

Detailed Description

template<typename T>
struct storages::postgres::io::CppToUserPg< T >

Primary template for declaring mapping to a PostgreSQL user type.

Must contain a static constexpr DBTypeName postgres_name member.

For more information see pg_user_types

For enumerated types must derive from EnumMappingBase template and have a static constexpr EnumeratorList enumerators member. The EnumeratorList is a type alias declared in EnumMappingBase.

For more information see uPg: PostgreSQL user type mappings

Definition at line 27 of file io_fwd.hpp.


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