I am learning Rust for 2 months. I started with diesel but switched to rusqlite due to the lack of documentation for diesel. Now I try diesel again. I try to understand diesel by searching its codes and test-codes on GitHub (Its examples do not help much). I can do most of things, but now I can not find out how to:
UPDATE some_table SET some_field = some_field + 1 WHERE id=?;
Can someone help me with this?
Thanks you all!