mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
23 lines
393 B
C++
23 lines
393 B
C++
#pragma once
|
|
|
|
#include <Parsers/IAST.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** name CHECK logical_expr
|
|
*/
|
|
class ASTConstraintDeclaration : public IAST
|
|
{
|
|
public:
|
|
String name;
|
|
IAST * expr;
|
|
|
|
String getID(char) const override { return "Constraint"; }
|
|
|
|
ASTPtr clone() const override;
|
|
|
|
void formatImpl(const FormatSettings & s, FormatState & state, FormatStateStacked frame) const override;
|
|
};
|
|
}
|