7#include <userver/storages/postgres/io/buffer_io.hpp>
8#include <userver/storages/postgres/io/buffer_io_base.hpp>
9#include <userver/storages/postgres/io/type_mapping.hpp>
11namespace boost::uuids {
15USERVER_NAMESPACE_BEGIN
20struct BufferFormatter<boost::uuids::uuid> : detail::BufferFormatterBase<boost::uuids::uuid> {
21 using BaseType = detail::BufferFormatterBase<boost::uuids::uuid>;
22 using BaseType::BaseType;
24 void operator()(
const UserTypes&, std::vector<
char>& buf)
const;
25 void operator()(
const UserTypes&, std::string& buf)
const;
29struct BufferParser<boost::uuids::uuid> : detail::BufferParserBase<boost::uuids::uuid> {
30 using BaseType = detail::BufferParserBase<boost::uuids::uuid>;
31 using BaseType::BaseType;
33 void operator()(
const FieldBuffer& buf);
37struct CppToSystemPg<boost::uuids::uuid> : PredefinedOid<PredefinedOids::kUuid> {};