#include #include #include #include namespace DB { namespace { struct NameLower { static constexpr auto name = "lower"; }; using FunctionLower = FunctionStringToString, NameLower>; } void registerFunctionLower(FunctionFactory & factory) { factory.registerFunction(FunctionFactory::CaseInsensitive); factory.registerAlias("lcase", NameLower::name, FunctionFactory::CaseInsensitive); } }