orm
orm copied to clipboard
Add method forUpdate
What was changed
The new method forUpdate has been added to the repository.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
230dc9f) 91.49% compared to head (79f691b) 91.50%.
Additional details and impacted files
@@ Coverage Diff @@
## 2.x #465 +/- ##
=========================================
Coverage 91.49% 91.50%
- Complexity 1813 1814 +1
=========================================
Files 115 115
Lines 4596 4600 +4
=========================================
+ Hits 4205 4209 +4
Misses 391 391
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this method do?
adds FOR UPDATE when you build SELECT query
https://www.cockroachlabs.com/blog/select-for-update/