sqlx

Pinned ·

SQL Optimistic Lock in Rust

@Jornada Produtora

Last time, I discussed implementing optimistic locking using PostgreSQL's raw type xmin. As a Rust lover, I attempted to replicate this in Rust. However, I encountered unexpected challenges. Let me share the changes I encountered and how I overcome the problem.