|
|
unique_ptr< UpdateExtensionsInfo > | info |
|
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::UPDATE_EXTENSIONS_STATEMENT |
|
static constexpr const StatementType | TYPE = StatementType::INVALID_STATEMENT |
◆ UpdateExtensionsStatement() [1/2]
| duckdb::UpdateExtensionsStatement::UpdateExtensionsStatement |
( |
| ) |
|
350043 : SQLStatement(StatementType::UPDATE_EXTENSIONS_STATEMENT) {
350044}
◆ UpdateExtensionsStatement() [2/2]
| duckdb::UpdateExtensionsStatement::UpdateExtensionsStatement |
( |
const UpdateExtensionsStatement & | other | ) |
|
|
protected |
350047 : SQLStatement(other), info(other.info->Copy()) {
350048}
◆ ToString()
| string duckdb::UpdateExtensionsStatement::ToString |
( |
| ) |
const |
|
overridevirtual |
Implements duckdb::SQLStatement.
350050 {
350051 string result;
350052 result += "UPDATE EXTENSIONS";
350053
350054 if (!info->extensions_to_update.empty()) {
350055 result += "(";
350056 for (
idx_t i = 0; i < info->extensions_to_update.size(); i++) {
350057 if (i > 0) {
350058 result += ", ";
350059 }
350060 result += info->extensions_to_update[i];
350061 }
350062 result += ")";
350063 }
350064
350065 return result;
350066}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Copy()
| unique_ptr< SQLStatement > duckdb::UpdateExtensionsStatement::Copy |
( |
| ) |
const |
|
overridevirtual |
Create a copy of this SelectStatement.
Implements duckdb::SQLStatement.
350068 {
350069 return unique_ptr<UpdateExtensionsStatement>(new UpdateExtensionsStatement(*this));
350070}
The documentation for this class was generated from the following file: