1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/planner/expression/bound_conjunction_expression.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/planner/expression.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | class BoundConjunctionExpression : public Expression { |
16 | public: |
17 | BoundConjunctionExpression(ExpressionType type); |
18 | BoundConjunctionExpression(ExpressionType type, unique_ptr<Expression> left, unique_ptr<Expression> right); |
19 | |
20 | vector<unique_ptr<Expression>> children; |
21 | |
22 | public: |
23 | string ToString() const override; |
24 | |
25 | bool Equals(const BaseExpression *other) const override; |
26 | |
27 | unique_ptr<Expression> Copy() override; |
28 | }; |
29 | } // namespace duckdb |
30 |