Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::InsertStatement Class Reference
Inheritance diagram for duckdb::InsertStatement:
Collaboration diagram for duckdb::InsertStatement:

Public Member Functions

string ToString () const override
 
unique_ptr< SQLStatementCopy () const override
 Create a copy of this SelectStatement.
 
optional_ptr< ExpressionListRefGetValuesList () const
 
- Public Member Functions inherited from duckdb::SQLStatement
 SQLStatement (StatementType type)
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static string OnConflictActionToString (OnConflictAction action)
 

Public Attributes

unique_ptr< SelectStatementselect_statement
 The select statement to insert from.
 
vector< string > columns
 Column names to insert into.
 
string table
 Table name to insert to.
 
string schema
 Schema name to insert to.
 
string catalog
 The catalog name to insert to.
 
vector< unique_ptr< ParsedExpression > > returning_list
 keep track of optional returningList if statement contains a RETURNING keyword
 
unique_ptr< OnConflictInfoon_conflict_info
 
unique_ptr< TableReftable_ref
 
CommonTableExpressionMap cte_map
 CTEs.
 
bool default_values = false
 Whether or not this a DEFAULT VALUES.
 
InsertColumnOrder column_order = InsertColumnOrder::INSERT_BY_POSITION
 INSERT BY POSITION or INSERT BY NAME.
 
- Public Attributes inherited from duckdb::SQLStatement
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_tnamed_param_map
 The map of named parameter to param index.
 
string query
 The query text that corresponds to this SQL statement.
 

Static Public Attributes

static constexpr const StatementType TYPE = StatementType::INSERT_STATEMENT
 
- Static Public Attributes inherited from duckdb::SQLStatement
static constexpr const StatementType TYPE = StatementType::INVALID_STATEMENT
 

Protected Member Functions

 InsertStatement (const InsertStatement &other)
 
- Protected Member Functions inherited from duckdb::SQLStatement
 SQLStatement (const SQLStatement &other)=default
 

Member Function Documentation

◆ ToString()

string duckdb::InsertStatement::ToString ( ) const
overridevirtual

Implements duckdb::SQLStatement.

◆ Copy()

unique_ptr< SQLStatement > duckdb::InsertStatement::Copy ( ) const
overridevirtual

Create a copy of this SelectStatement.

Implements duckdb::SQLStatement.

◆ GetValuesList()

optional_ptr< ExpressionListRef > duckdb::InsertStatement::GetValuesList ( ) const

If the INSERT statement is inserted DIRECTLY from a values list (i.e. INSERT INTO tbl VALUES (...)) this returns the expression list Otherwise, this returns NULL


The documentation for this class was generated from the following file: