#include "FunctionsStringSearch.h" #include "FunctionFactory.h" #include "PositionImpl.h" namespace DB { namespace { struct NamePositionCaseInsensitive { static constexpr auto name = "positionCaseInsensitive"; }; using FunctionPositionCaseInsensitive = FunctionsStringSearch>; } REGISTER_FUNCTION(PositionCaseInsensitive) { factory.registerFunction(); factory.registerAlias("instr", NamePositionCaseInsensitive::name, FunctionFactory::CaseInsensitive); } }