Packages

An Elixir DuckDB library

Current section

Files

Jump to
exduckdb c_src duckdb src execution operator helper physical_prepare.cpp
Raw

c_src/duckdb/src/execution/operator/helper/physical_prepare.cpp

#include "duckdb/execution/operator/helper/physical_prepare.hpp"
#include "duckdb/main/client_context.hpp"
namespace duckdb {
void PhysicalPrepare::GetData(ExecutionContext &context, DataChunk &chunk, GlobalSourceState &gstate_p,
LocalSourceState &lstate) const {
auto &client = context.client;
// store the prepared statement in the context
client.prepared_statements[name] = prepared;
}
} // namespace duckdb