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>>