Re: Transactions support

2007-01-29 Thread sawa
$this->model->execute( 'START TRANSACTION' ); and $this->model->execute( 'COMMIT' ); worked for me on mysql On Jan 24, 6:49 pm, "zipman" <[EMAIL PROTECTED]> wrote: > Hello, > > I am using postgres as a database which supports transactions. > Is there any update on how I can use transactions in c

Re: Transactions support

2007-01-28 Thread [EMAIL PROTECTED]
Hi Zipman On Jan 27, 5:17 pm, "zipman" <[EMAIL PROTECTED]> wrote: > Is there any workaround that I can do in any lower level, > > in order to get transactions? First, define what you mean by 'transactions': http://groups.google.com/group/cake-php/browse_thread/thread/ 3e7a8e6085bf5766/7a4ec5130

Re: Transactions support

2007-01-27 Thread Dr. Tarique Sani
On 1/27/07, zipman <[EMAIL PROTECTED]> wrote: > > > Is there any workaround that I can do in any lower level, > > in order to get transactions? > If you it is transactions that you want then them IMHO there is no elegant short-cut really but if you explain what end result you are trying to achiev

Re: Transactions support

2007-01-27 Thread zipman
Is there any workaround that I can do in any lower level, in order to get transactions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.

Re: Transactions support

2007-01-25 Thread nate
Transactions aren't yet supported at the model level. We're working on it, be patient. On Jan 25, 5:33 pm, "zipman" <[EMAIL PROTECTED]> wrote: > Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" g

Re: Transactions support

2007-01-25 Thread zipman
Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more optio

Transactions support

2007-01-24 Thread zipman
Hello, I am using postgres as a database which supports transactions. Is there any update on how I can use transactions in cakephp? Somewhere i have seen the following piece of code: 1- $this->model->begin(); 2- $result = $this->model->save(); 3- $sql = 'some query'; 4- $this->model->execute( $s