userver: userver/ydb/io/insert_row.hpp Source File
Loading...
Searching...
No Matches
insert_row.hpp
1#pragma once
2
3#include <userver/ydb/io/traits.hpp>
4#include <userver/ydb/types.hpp>
5
6USERVER_NAMESPACE_BEGIN
7
8namespace ydb {
9
10template <>
11struct ValueTraits<InsertRow> {
12 // We don't have enough type information to parse Null.
13 static InsertRow Parse(NYdb::TValueParser& parser,
14 const std::string& column_name) = delete;
15
16 static void Write(NYdb::TValueBuilderBase<NYdb::TValueBuilder>& builder,
17 const InsertRow& value);
18
19 static void Write(NYdb::TValueBuilderBase<NYdb::TParamValueBuilder>& builder,
20 const InsertRow& value);
21};
22
23} // namespace ydb
24
25USERVER_NAMESPACE_END