|
|
unique_ptr< CopyInfo > | info |
|
string | database |
|
StatementType | type |
| | The statement type.
|
|
idx_t | stmt_location = 0 |
| | The statement location within the query string.
|
|
idx_t | stmt_length = 0 |
| | The statement length within the query string.
|
|
case_insensitive_map_t< idx_t > | named_param_map |
| | The map of named parameter to param index.
|
|
string | query |
| | The query text that corresponds to this SQL statement.
|
|
|
static constexpr const StatementType | TYPE = StatementType::EXPORT_STATEMENT |
|
static constexpr const StatementType | TYPE = StatementType::INVALID_STATEMENT |
|
| | ExportStatement (const ExportStatement &other) |
|
| SQLStatement (const SQLStatement &other)=default |
◆ ExportStatement() [1/2]
349281 : SQLStatement(StatementType::EXPORT_STATEMENT), info(std::move(info)) {
349282}
◆ ExportStatement() [2/2]
| duckdb::ExportStatement::ExportStatement |
( |
const ExportStatement & | other | ) |
|
|
protected |
349285 : SQLStatement(other), info(other.info->Copy()), database(other.database) {
349286}
◆ Copy()
| unique_ptr< SQLStatement > duckdb::ExportStatement::Copy |
( |
| ) |
const |
|
overridevirtual |
◆ ToString()
| string duckdb::ExportStatement::ToString |
( |
| ) |
const |
|
overridevirtual |
Implements duckdb::SQLStatement.
349292 {
349293 string result = "";
349294 result += "EXPORT DATABASE";
349295 if (!database.empty()) {
349296 result += " " + database + " TO";
349297 }
349298 auto &path = info->file_path;
349299 D_ASSERT(info->is_from == false);
349301 result += info->CopyOptionsToString();
349302 result += ";";
349303 return result;
349304}
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
The documentation for this class was generated from the following file: