On 8/20/07, sharath <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm using cake & mysql for editing purpose.
> Now i want to lock a particular row of a table. Can anybody tell me
> about how to do this in cake?
>
> Thanks in advance,
> sharath.

That is a MySQL issue, not a CakePHP one.  I am not aware of any
functionality that exists in CakePHP to let you do this, but my quess
is this:  if you can lock a row with a MySQL command then you can
probably run it using $this->Foo->query(...) if you need a response
back or $this->Foo->execute(...) if you don't.

Hope that helps.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to