[Dbix-class] Primary key using a Sequence Generator

Moritz Onken onken at houseofdesign.de
Sat Feb 9 09:48:09 GMT 2008


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/dbix-class@lists.rawmode.org




More information about the DBIx-Class mailing list