On Sat, Sep 27, 2008 at 07:52:35PM +0200, Zbigniew Lukasiak wrote:
> Hi Matt,
> 
> On Sat, Sep 27, 2008 at 6:50 PM, Matt S Trout <[EMAIL PROTECTED]> wrote:
> > On Tue, Sep 23, 2008 at 01:35:03PM +0200, Zbigniew Lukasiak wrote:
> >> Unlike the original update_or_create - recursive_update works for
> >> tables with auto_increment primary keys
> >
> > Please stop referring to "doesn't accept undef for auto-inc like MySQL does"
> > as broken.
> 
> I understand your sensitivity - I only wanted to express the fact that
> you cannot use update_or_create with tables with auto_increment
> primary keys.

I do so fine. I just don't pass the PK if I don't have one.

Just because your code is buggy and passes undef doesn't mean it doesn't work
if you do it properly.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to