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