6#include <userver/storages/postgres/detail/query_parameters.hpp>
7#include <userver/storages/postgres/io/type_traits.hpp>
8#include <userver/storages/postgres/io/user_types.hpp>
9#include <userver/utils/strong_typedef.hpp>
11USERVER_NAMESPACE_BEGIN
28 ParameterStore() =
default;
39 io::IsTypeMappedToSystem<T>() ||
io::IsTypeMappedToSystemArray<T>(),
40 "Currently only built-in types can be used in ParameterStore");
41 data_.Write(kNoUserTypes, param);
46 bool IsEmpty()
const {
return data_.Size() == 0; }
52 const detail::DynamicQueryParameters& GetInternalData()
const {
60 detail::DynamicQueryParameters data_;