1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/planner/expression_binder/insert_binder.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/planner/expression_binder.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | //! The INSERT binder is responsible for binding expressions within the VALUES of an INSERT statement |
16 | class InsertBinder : public ExpressionBinder { |
17 | public: |
18 | InsertBinder(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 | |