| 1 | #include "duckdb/planner/expression/bound_subquery_expression.hpp" |
|---|---|
| 2 | |
| 3 | #include "duckdb/common/exception.hpp" |
| 4 | |
| 5 | using namespace duckdb; |
| 6 | using namespace std; |
| 7 | |
| 8 | BoundSubqueryExpression::BoundSubqueryExpression(TypeId return_type) |
| 9 | : Expression(ExpressionType::SUBQUERY, ExpressionClass::BOUND_SUBQUERY, return_type) { |
| 10 | } |
| 11 | |
| 12 | string BoundSubqueryExpression::ToString() const { |
| 13 | return "SUBQUERY"; |
| 14 | } |
| 15 | |
| 16 | bool BoundSubqueryExpression::Equals(const BaseExpression *other_) const { |
| 17 | // equality between bound subqueries not implemented currently |
| 18 | return false; |
| 19 | } |
| 20 | |
| 21 | unique_ptr<Expression> BoundSubqueryExpression::Copy() { |
| 22 | throw SerializationException("Cannot copy BoundSubqueryExpression"); |
| 23 | } |
| 24 |