Am 14.11.2011 17:14, schrieb phpMagpie:
> Not sure if there is an existing behaviour, but if you create a
> created and modified field Cake will automagically update them.  Check
> these to see if they have been updated since form load et voila.
Looking at the modified date does guarantee mutual exclusion (e.g. data
is modified between your select and your update).
Have a look at SELECT ... FOR UPDATE or mysqls GET_LOCK().

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to