pub struct InsertStmt<'a> { /* private fields */ }Implementations§
Source§impl<'a> InsertStmt<'a>
impl<'a> InsertStmt<'a>
Sourcepub fn node_id(&self) -> InsertStmtId
pub fn node_id(&self) -> InsertStmtId
The typed node ID of this node.
pub fn conflict_action(&self) -> ConflictAction
pub fn table(&self) -> Option<TableRef<'a>>
pub fn columns(&self) -> Option<ExprList<'a>>
pub fn source(&self) -> Option<Select<'a>>
pub fn upsert(&self) -> Option<UpsertClauseList<'a>>
pub fn returning(&self) -> Option<ResultColumnList<'a>>
Trait Implementations§
Source§impl<'a> Clone for InsertStmt<'a>
impl<'a> Clone for InsertStmt<'a>
Source§fn clone(&self) -> InsertStmt<'a>
fn clone(&self) -> InsertStmt<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InsertStmt<'_>
impl Debug for InsertStmt<'_>
Source§impl Display for InsertStmt<'_>
impl Display for InsertStmt<'_>
Source§impl<'a> From<InsertStmt<'a>> for InsertStmtId
impl<'a> From<InsertStmt<'a>> for InsertStmtId
Source§fn from(n: InsertStmt<'a>) -> Self
fn from(n: InsertStmt<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> GrammarNodeType<'a> for InsertStmt<'a>
impl<'a> GrammarNodeType<'a> for InsertStmt<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for InsertStmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for InsertStmt<'a>
impl<'a> !RefUnwindSafe for InsertStmt<'a>
impl<'a> !Send for InsertStmt<'a>
impl<'a> !Sync for InsertStmt<'a>
impl<'a> Unpin for InsertStmt<'a>
impl<'a> UnsafeUnpin for InsertStmt<'a>
impl<'a> !UnwindSafe for InsertStmt<'a>
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