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, const std::string& column_name) = delete;
14
15 static void Write(NYdb::TValueBuilderBase<NYdb::TValueBuilder>& builder, const InsertRow& value);
16
17 static void Write(NYdb::TValueBuilderBase<NYdb::TParamValueBuilder>& builder, const InsertRow& value);
18};
19
20} // namespace ydb
21
22USERVER_NAMESPACE_END