1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/planner/expression_binder/update_binder.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/planner/expression_binder.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | //! The UPDATE binder is responsible for binding an expression within an UPDATE statement |
16 | class UpdateBinder : public ExpressionBinder { |
17 | public: |
18 | UpdateBinder(Binder &binder, ClientContext &context); |
19 | |
20 | protected: |
21 | BindResult BindExpression(unique_ptr<ParsedExpression> &expr_ptr, idx_t depth, |
22 | bool root_expression = false) override; |
23 | |
24 | string UnsupportedAggregateMessage() override; |
25 | }; |
26 | |
27 | } // namespace duckdb |
28 | |