|
|
unique_ptr< ParsedExpression > | value |
|
string | name |
|
SetScope | scope |
|
SetType | set_type |
|
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.
|
|
| | SetVariableStatement (const SetVariableStatement &other) |
| | SetStatement (string name_p, SetScope scope_p, SetType type_p) |
|
| SetStatement (const SetStatement &other)=default |
|
| SQLStatement (const SQLStatement &other)=default |
|
|
static constexpr const StatementType | TYPE = StatementType::SET_STATEMENT |
|
static constexpr const StatementType | TYPE = StatementType::INVALID_STATEMENT |
◆ SetVariableStatement() [1/2]
349934 : SetStatement(std::move(name_p), scope_p, SetType::SET), value(std::move(value_p)) {
349935}
◆ SetVariableStatement() [2/2]
| duckdb::SetVariableStatement::SetVariableStatement |
( |
const SetVariableStatement & | other | ) |
|
|
protected |
349938 : SetStatement(other), value(other.value->Copy()) {
349939}
◆ Copy()
◆ ToString()
| string duckdb::SetVariableStatement::ToString |
( |
| ) |
const |
|
overridevirtual |
Implements duckdb::SQLStatement.
349962 {
349963 return StringUtil::Format(
"SET %s %s TO %s;", ScopeToString(scope), name, value->ToString());
349964}
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: