pub struct InsertParser<'a> { /* private fields */ }Expand description
Parser for MySQL INSERT statements
Implementations§
Source§impl<'a> InsertParser<'a>
impl<'a> InsertParser<'a>
Sourcepub fn with_schema(self, schema: &'a TableSchema) -> Self
pub fn with_schema(self, schema: &'a TableSchema) -> Self
Set the table schema for PK/FK extraction
Sourcepub fn parse_rows(&mut self) -> Result<Vec<ParsedRow>>
pub fn parse_rows(&mut self) -> Result<Vec<ParsedRow>>
Parse all rows from the INSERT statement
Auto Trait Implementations§
impl<'a> Freeze for InsertParser<'a>
impl<'a> RefUnwindSafe for InsertParser<'a>
impl<'a> Send for InsertParser<'a>
impl<'a> Sync for InsertParser<'a>
impl<'a> Unpin for InsertParser<'a>
impl<'a> UnwindSafe for InsertParser<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more