1#include "arrayPop.h"
2#include <Functions/FunctionFactory.h>
3
4
5namespace DB
6{
7
8class FunctionArrayPopFront : public FunctionArrayPop
9{
10public:
11 static constexpr auto name = "arrayPopFront";
12 static FunctionPtr create(const Context &) { return std::make_shared<FunctionArrayPopFront>(); }
13 FunctionArrayPopFront() : FunctionArrayPop(true, name) {}
14};
15
16void registerFunctionArrayPopFront(FunctionFactory & factory)
17{
18 factory.registerFunction<FunctionArrayPopFront>();
19}
20
21}
22