Re: Magic ORM save()

2008-05-30 Thread George Vilches
On May 30, 2008, at 7:29 PM, Jeremy Dunck wrote: > > On Fri, May 30, 2008 at 5:16 PM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> >> Let's discuss the ORM save() method. In my opinion, unless I grossly >> misunderstand what's going on it seems the save method is very >> magical. >> >> Firs

Re: Magic ORM save()

2008-05-30 Thread Karen Tracey
On Fri, May 30, 2008 at 7:29 PM, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On Fri, May 30, 2008 at 5:16 PM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > > > Let's discuss the ORM save() method. In my opinion, unless I grossly > > misunderstand what's going on it seems the save method is ve

Re: Magic ORM save()

2008-05-30 Thread Jeremy Dunck
On Fri, May 30, 2008 at 5:16 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Let's discuss the ORM save() method. In my opinion, unless I grossly > misunderstand what's going on it seems the save method is very > magical. > > First, some confirmations; The save method will INSERT a row into t

Magic ORM save()

2008-05-30 Thread [EMAIL PROTECTED]
Let's discuss the ORM save() method. In my opinion, unless I grossly misunderstand what's going on it seems the save method is very magical. First, some confirmations; The save method will INSERT a row into the database if it doesn't exist, always. The save method will UPDATE a row that exists in