diesel::query_dsl::methods

Trait ForUpdateDsl

Source
pub trait ForUpdateDsl {
    type Output;

    // Required method
    fn for_update(self) -> Self::Output;
}
👎Deprecated since 1.3.0: use LockingDsl<ForUpdate> instead
Expand description

The for_update method

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 for_update from generic code.

Required Associated Types§

Source

type Output

👎Deprecated since 1.3.0: use LockingDsl<ForUpdate> instead

The type returned by for_update. See dsl::ForUpdate for convenient access to this type.

Required Methods§

Source

fn for_update(self) -> Self::Output

👎Deprecated since 1.3.0: use LockingDsl<ForUpdate> instead

See the trait level documentation

Implementors§

Source§

impl<T> ForUpdateDsl for T
where T: LockingDsl<ForUpdate>,

Source§

type Output = <T as LockingDsl<ForUpdate>>::Output