pub type PbInsertNode = InsertNode;
Expand description
Alias for InsertNode
.
Aliased Type§
struct PbInsertNode {
pub table_id: u32,
pub table_version_id: u64,
pub column_indices: Vec<u32>,
pub default_columns: Option<DefaultColumns>,
pub row_id_index: Option<u32>,
pub returning: bool,
pub session_id: u32,
}
Fields§
§table_id: u32
Id of the table to perform inserting.
table_version_id: u64
Version of the table.
column_indices: Vec<u32>
§default_columns: Option<DefaultColumns>
§row_id_index: Option<u32>
An optional field and will be None
for tables without user-defined pk.
The BatchInsertExecutor
should add a column with NULL value which will
be filled in streaming.
returning: bool
§session_id: u32
Session id is used to ensure that dml data from the same session should be sent to a fixed worker node and channel.