mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
add comment for ConfigHelper::getBool
This commit is contained in:
parent
c28fcd5a2f
commit
f0e82e2cb6
@ -11,6 +11,8 @@ namespace Poco
|
|||||||
namespace DB::ConfigHelper
|
namespace DB::ConfigHelper
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// The behavior is like `config.getBool(key, default_)`,
|
||||||
|
/// except when the tag is empty (aka. self-closing), `empty_as` will be used instead of throwing Poco::Exception.
|
||||||
bool getBool(const Poco::Util::AbstractConfiguration & config, const std::string & key, bool default_, bool empty_as);
|
bool getBool(const Poco::Util::AbstractConfiguration & config, const std::string & key, bool default_, bool empty_as);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user