Skip to main content

OptimisticLockingRepo

Trait OptimisticLockingRepo 

Source
pub trait OptimisticLockingRepo: Repo {
    // Required method
    fn update_with_optimistic_lock(
        &mut self,
        table: &str,
        id: u64,
        patch: Row,
        lock: OptimisticLock,
    ) -> DataResult<StoredRow>;
}

Required Methods§

Source

fn update_with_optimistic_lock( &mut self, table: &str, id: u64, patch: Row, lock: OptimisticLock, ) -> DataResult<StoredRow>

Implementors§