pub struct InsertQuery {
pub table_name: String,
pub columns: Vec<String>,
pub rows: Vec<Vec<String>>,
}Expand description
The following structure represents a INSERT query already parsed
and broken down into table_name a Vec<String> representing the Columns
and Vec<Vec<String>> representing the list of Rows to be inserted
Fields§
§table_name: String§columns: Vec<String>§rows: Vec<Vec<String>>Implementations§
Source§impl InsertQuery
impl InsertQuery
pub fn new(statement: &Statement) -> Result<InsertQuery>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InsertQuery
impl RefUnwindSafe for InsertQuery
impl Send for InsertQuery
impl Sync for InsertQuery
impl Unpin for InsertQuery
impl UnsafeUnpin for InsertQuery
impl UnwindSafe for InsertQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more