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

From: Tony Bowden (tony-maypole at kasei.com)
Date: Wed Feb 02 2005 - 01:08:12 GMT


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

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:58 GMT