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