aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Storages/checkAndGetLiteralArgument.h
blob: 086deca51214e58d06a00ea4d00317635be58dcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <Parsers/ASTLiteral.h>

namespace DB
{

template <typename T>
T checkAndGetLiteralArgument(const ASTPtr & arg, const String & arg_name);

template <typename T>
T checkAndGetLiteralArgument(const ASTLiteral & arg, const String & arg_name);

}