Look at DBIx::Class::UUIDColumns which overwrites the insert method.
Am 08.02.2008 um 21:52 schrieb Steve Kirkup:
Hello,
Is there a clean way to override the insert() method to call a
sequence generator for getting a primary key?
I would assume it is possible, but I am unsure where it would go.
Steve Kirkup
_______________________________________________
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]
_______________________________________________
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]