blob: e9651ed187bce6c4670c4299b1169fcf5a7dcf37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "arrayPush.h"
#include <Functions/FunctionFactory.h>
namespace DB
{
class FunctionArrayPushBack : public FunctionArrayPush
{
public:
static constexpr auto name = "arrayPushBack";
static FunctionPtr create(ContextPtr) { return std::make_shared<FunctionArrayPushBack>(); }
FunctionArrayPushBack() : FunctionArrayPush(false, name) {}
};
REGISTER_FUNCTION(ArrayPushBack)
{
factory.registerFunction<FunctionArrayPushBack>();
}
}
|