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