v5:activerecord:lockmode
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
activerecord:lockmode [2015/12/06 21:32] – created mnewnham | v5:activerecord:lockmode [2016/01/13 02:15] (current) – ↷ Links adapted because of a move operation mnewnham | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | Setting the value of this class variable adds the value to SELECT statements executed by [[activerecord: | + | Setting the value of this class variable adds the value to SELECT statements executed by [[v5:activerecord: |
===== Usage ===== | ===== Usage ===== | ||
Line 13: | Line 13: | ||
class person extends ADOdb_Active_Record | class person extends ADOdb_Active_Record | ||
{ | { | ||
- | $lockMode = ' FOR UPDATE NOWAIT'; | + | |
} | } | ||
</ | </ |
v5/activerecord/lockmode.1449433965.txt.gz · Last modified: 2017/04/21 11:21 (external edit)