diesel::query_dsl::methods

Trait ModifyLockDsl

Source
pub trait ModifyLockDsl<Modifier> {
    type Output;

    // Required method
    fn modify_lock(self, modifier: Modifier) -> Self::Output;
}
Expand description

Methods related to modifiers on locking select statements

This trait should not be relied on directly by most apps. Its behavior is provided by QueryDsl. However, you may need a where clause on this trait to call skip_locked from generic code.

Required Associated Types§

Source

type Output

The type returned by modify_lock. See dsl::SkipLocked and friends for convenient access to this type.

Required Methods§

Source

fn modify_lock(self, modifier: Modifier) -> Self::Output

See the trait level documentation

Implementors§

Source§

impl<F, S, D, W, O, LOf, G, H, LC, LM, Modifier> ModifyLockDsl<Modifier> for SelectStatement<F, S, D, W, O, LOf, G, H, LockingClause<LC, LM>>

Source§

type Output = SelectStatement<F, S, D, W, O, LOf, G, H, LockingClause<LC, Modifier>>