InsertStatement in oxide_sql_core::ast - Rust

Struct InsertStatement 

Source

pub struct InsertStatement {
    pub schema: Option<String>,
    pub table: String,
    pub columns: Vec<String>,
    pub values: InsertSource,
    pub on_conflict: Option<OnConflict>,
}
Expand description

An INSERT statement.

Schema name.

Table name.

§columns: Vec<String>

Column names (optional).

Values to insert.

ON CONFLICT clause (for UPSERT).

Source§
Source§
Source§
Source§
Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§

§
§
§
§
§
§