|
|
unique_ptr< SQLStatement > | statement |
|
string | name |
|
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::PREPARE_STATEMENT |
|
static constexpr const StatementType | TYPE = StatementType::INVALID_STATEMENT |
|
| | PrepareStatement (const PrepareStatement &other) |
|
| SQLStatement (const SQLStatement &other)=default |
◆ PrepareStatement() [1/2]
| duckdb::PrepareStatement::PrepareStatement |
( |
| ) |
|
349795 : SQLStatement(StatementType::PREPARE_STATEMENT), statement(nullptr), name("") {
349796}
◆ PrepareStatement() [2/2]
| duckdb::PrepareStatement::PrepareStatement |
( |
const PrepareStatement & | other | ) |
|
|
protected |
349799 : SQLStatement(other), statement(other.statement->Copy()), name(other.name) {
349800}
◆ Copy()
| unique_ptr< SQLStatement > duckdb::PrepareStatement::Copy |
( |
| ) |
const |
|
overridevirtual |
◆ ToString()
| string duckdb::PrepareStatement::ToString |
( |
| ) |
const |
|
overridevirtual |
Implements duckdb::SQLStatement.
349806 {
349807 string result = "";
349808 result += "PREPARE";
349809 result += " ";
349810 result += name;
349811 result += " ";
349812 result += "AS";
349813 result += " ";
349814 result += statement->ToString();
349815
349816 return result;
349817}
The documentation for this class was generated from the following file: