5#include <userver/compiler/demangle.hpp>
6#include <userver/storages/postgres/exceptions.hpp>
16inline constexpr bool kIsNullable = IsNullable<T>::value;
20 inline static bool IsNull(
const T&) {
return false; }
21 inline static void SetNull(T&) {
23 throw TypeCannotBeNull(compiler::GetTypeName<T>());
25 inline static void SetDefault(T& value) { value = T{}; }