[Maypole] Maypole::Plugin::Relationships and YAML

Tony Bowden tony@kasei.com
Wed, 2 Feb 2005 01:08:12 +0000


On Tue, Feb 01, 2005 at 05:19:34PM -0500, Dana Hudes wrote:
> > Maypole has id hardcoded at some points. (Not my decision)
> Unacceptable. Totally and completely unacceptable.

Class::DBI always aliases ->id() to be your primary key, no matter what
you've actually named it.

It makes a lot of things a lot simpler.

> I've got modelIdentifier, index, and all sorts of other things as primary 
> key. It makes for clarity and makes for conformance with external 
> standards and data models.

This shouldn't be a problem.

Tony