#include "FunctionStringReplace.h" #include "FunctionFactory.h" #include "ReplaceStringImpl.h" namespace DB { namespace { struct NameReplaceAll { static constexpr auto name = "replaceAll"; }; using FunctionReplaceAll = FunctionStringReplace, NameReplaceAll>; } void registerFunctionReplaceAll(FunctionFactory & factory) { factory.registerFunction(); factory.registerAlias("replace", NameReplaceAll::name, FunctionFactory::CaseInsensitive); } }