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