6#include <userver/storages/postgres/io/nullable_traits.hpp>
7#include <userver/storages/postgres/io/traits.hpp>
8#include <userver/storages/postgres/io/type_mapping.hpp>
10USERVER_NAMESPACE_BEGIN
33 inline static bool IsNull(
const Null<T>&) {
return true; }
34 static void SetNull(T&) {}
45struct CppToPg<Null<T>> : CppToPg<T> {};
48struct BufferFormatter<Null<T>> {
49 explicit BufferFormatter(
const Null<T>&) {}
51 template <
typename Buffer>
52 void operator()(
const UserTypes&, Buffer&)
const {}