6#include <userver/components/component_base.hpp>
7#include <userver/storages/mongo/multi_mongo.hpp>
8#include <userver/storages/mongo/pool.hpp>
9#include <userver/storages/secdist/component.hpp>
10#include <userver/utils/statistics/entry.hpp>
12USERVER_NAMESPACE_BEGIN
102 Mongo(
const ComponentConfig&,
const ComponentContext&);
110 static yaml_config::Schema GetStaticConfigSchema();
113 storages::mongo::PoolPtr pool_;
116 utils::statistics::Entry statistics_holder_;
120inline constexpr bool kHasValidate<Mongo> =
true;
192 storages::mongo::PoolPtr
GetPool(
const std::string& dbalias)
const;
212 static yaml_config::Schema GetStaticConfigSchema();
218 utils::statistics::Entry statistics_holder_;
222inline constexpr bool kHasValidate<MultiMongo> =
true;