9#include <userver/formats/json_fwd.hpp>
10#include <userver/utils/strong_typedef.hpp>
12USERVER_NAMESPACE_BEGIN
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
47using Timestamp = std::chrono::system_clock::time_point;
50using Utf8 = utils::StrongTypedef<Utf8Tag, std::string>;
54 utils::StrongTypedef<JsonDocumentTag, formats::json::Value>;
56using InsertColumnValue = std::variant<
57 std::string,
bool, std::int32_t, std::uint32_t, std::int64_t, std::uint64_t,
58 double, Utf8, Timestamp, std::optional<std::string>, std::optional<
bool>,
59 std::optional<std::int32_t>, std::optional<std::uint32_t>,
60 std::optional<std::int64_t>, std::optional<std::uint64_t>,
61 std::optional<
double>, std::optional<Utf8>, std::optional<Timestamp>>;
65 InsertColumnValue value;
68using InsertRow = std::vector<InsertColumn>;