[Dbix-class] auto_increment primary key population

Nigel Metheringham Nigel.Metheringham at dev.intechnology.co.uk
Thu Mar 23 15:50:06 CET 2006


On Thu, 2006-03-23 at 15:43 +0100, Michele Beltrame wrote:
> I'm doing this way as well. However, I was wondering if there is a way
> to automatically do this without making it explicit for every table
> schema class to load PK::Auto::MySQL component. Would it be possible for
> DBIx::Class to auto-detect this if the connection dsn is MySQL-related?

0.06 is refactored so you load PK::Auto and the DB type module is
automagically loaded.

	Nigel.
-- 
[ Nigel Metheringham           Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]




More information about the Dbix-class mailing list