pub struct LockChain { /* private fields */ }Expand description
A FOR … locking clause under construction.
Implementations§
Source§impl LockChain
impl LockChain
Sourcepub fn of(
self,
tables: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> LockChain
pub fn of( self, tables: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> LockChain
OF "t" — restrict the lock to these tables of the statement. Names, not
expressions, so they are quoted.
Sourcepub fn skip_locked(self) -> LockChain
pub fn skip_locked(self) -> LockChain
SKIP LOCKED — leave a locked row out of the result.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LockChain
impl RefUnwindSafe for LockChain
impl Send for LockChain
impl Sync for LockChain
impl Unpin for LockChain
impl UnsafeUnpin for LockChain
impl UnwindSafe for LockChain
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