userver
C++ Async Framework
Loading...
Searching...
No Matches
io_fwd.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/postgres/io/io_fwd.hpp
4
/// @brief Forward declarations of types for PostgreSQL mappings.
5
/// @ingroup userver_postgres_parse_and_format
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
storages::
postgres
::io {
10
11
/// @brief Primary template for declaring mapping to a PostgreSQL system type.
12
template
<
typename
T>
13
struct
CppToSystemPg;
14
15
/// @brief Primary template for declaring mapping to a PostgreSQL user type.
16
///
17
/// Must contain a `static constexpr DBTypeName postgres_name` member.
18
///
19
/// For more information see @ref pg_user_types
20
///
21
/// For enumerated types must derive from EnumMappingBase template and have a
22
/// `static constexpr EnumeratorList enumerators` member. The EnumeratorList
23
/// is a type alias declared in EnumMappingBase.
24
///
25
/// For more information see @ref scripts/docs/en/userver/pg_user_types.md
26
template
<
typename
T>
27
struct
CppToUserPg;
28
29
}
// namespace storages::postgres::io
30
31
USERVER_NAMESPACE_END
userver
storages
postgres
io
io_fwd.hpp
Generated on Wed Dec 4 2024 18:42:04 for userver by
Doxygen
1.10.0