Packages

An Elixir DuckDB library

Current section

Files

Jump to
exduckdb c_src duckdb src planner binder statement bind_load.cpp
Raw

c_src/duckdb/src/planner/binder/statement/bind_load.cpp

#include "duckdb/parser/statement/load_statement.hpp"
#include "duckdb/planner/binder.hpp"
#include "duckdb/planner/operator/logical_simple.hpp"
#include <algorithm>
namespace duckdb {
BoundStatement Binder::Bind(LoadStatement &stmt) {
BoundStatement result;
result.types = {LogicalType::BOOLEAN};
result.names = {"Success"};
result.plan = make_unique<LogicalSimple>(LogicalOperatorType::LOGICAL_LOAD, move(stmt.info));
this->allow_stream_result = false;
return result;
}
} // namespace duckdb