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