\think\model\concernOptimLock

乐观锁

Summary

Methods
Properties
Constants
getWhere()
No public properties found
No constants found
getOptimLockField()
checkData()
recordLockVersion()
updateLockVersion()
checkResult()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getWhere()

getWhere() : mixed

Returns

mixed —

getOptimLockField()

getOptimLockField() : mixed

Returns

mixed —

checkData()

checkData() : void

数据检查

recordLockVersion()

recordLockVersion() : void

记录乐观锁

updateLockVersion()

updateLockVersion() : void

更新乐观锁

checkResult()

checkResult(mixed  $result) : void

Parameters

mixed $result