userver
C++ Async Framework
Loading...
Searching...
No Matches
row_types.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/mysql/row_types.hpp
4
/// @brief Helper tags to disambiguate result extraction between row and field.
5
6
USERVER_NAMESPACE_BEGIN
7
8
namespace
storages::
mysql
{
9
10
/// Used for extracting statement results as a single field.
11
struct
FieldTag
{};
12
/// Used for extracting statement results as rows.
13
struct
RowTag
{};
14
15
inline
constexpr
FieldTag
kFieldTag;
16
inline
constexpr
RowTag
kRowTag{};
17
18
}
// namespace storages::mysql
19
20
USERVER_NAMESPACE_END
userver
storages
mysql
row_types.hpp
Generated on Wed Dec 4 2024 18:48:58 for userver by
Doxygen
1.10.0