pub struct RowAliasChain { /* private fields */ }Expand description
AS \alias`— name the row being inserted (MySQL 8.0.19), so thatON DUPLICATE KEY UPDATE` can refer to it by name.
Implementations§
Source§impl RowAliasChain
impl RowAliasChain
Sourcepub fn columns(
self,
columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> RowAliasChain
pub fn columns( self, columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> RowAliasChain
Per-column aliases: AS \new` (`a`, `b`)`.
Trait Implementations§
Source§impl Clone for RowAliasChain
impl Clone for RowAliasChain
Source§fn clone(&self) -> RowAliasChain
fn clone(&self) -> RowAliasChain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RowAliasChain
impl Debug for RowAliasChain
Source§impl<Q: HasRowAlias> Mod<Q> for RowAliasChain
impl<Q: HasRowAlias> Mod<Q> for RowAliasChain
Auto Trait Implementations§
impl Freeze for RowAliasChain
impl RefUnwindSafe for RowAliasChain
impl Send for RowAliasChain
impl Sync for RowAliasChain
impl Unpin for RowAliasChain
impl UnsafeUnpin for RowAliasChain
impl UnwindSafe for RowAliasChain
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