ClickHouse/src/Databases/removeWhereConditionPlaceholder.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
462 B
C++
Raw Normal View History

#pragma once
2023-05-07 22:57:13 +00:00
#include <string>
namespace DB
{
static constexpr std::string_view CONDITION_PLACEHOLDER_TO_REPLACE_VALUE = "{condition}";
2023-05-08 12:49:11 +00:00
/** In case UPDATE_FIELD is specified in {condition} for dictionary that must load all data.
* Replace {condition} with true_condition for initial dictionary load.
* For next dictionary loads {condition} will be updated with UPDATE_FIELD.
*/
2023-05-07 22:57:13 +00:00
std::string removeWhereConditionPlaceholder(const std::string & query);
}