pub type PbInsertNode = InsertNode;Aliased Type§
pub struct PbInsertNode {
pub table_id: TypedId<1>,
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: TypedId<1>Id of the table to perform inserting.
table_version_id: u64Version 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: u32Session id is used to ensure that dml data from the same session should be sent to a fixed worker node and channel.