[Maypole] Maypole::Plugin::Relationships and YAML
Sebastian Riedel
sri@oook.de
Wed, 02 Feb 2005 20:59:56 +0100
Dana Hudes:
> On Wed, 2 Feb 2005, Sebastian Riedel wrote:
>
> > Tony Bowden:
> > > I think I'm missing something here. There seems to be this idea that
> > > Maypole (and / or Class::DBI) wants the primary key to be called 'id'.
> > > Is this actually true? It certainly isn't true for Class::DBI.
> > >
> >
> > Seems only Maypole's factory templates expect id.
> >
>
> As Tony points out, CDBI makes an alias called 'id' -- in CDBI, not SQL
> it doesn't touch your schema -- for your PK no matter what you call it.
> So long as Maypole doesn't go generating SQL on its own, relying instead
> on CDBI, this should not pose a conflict.
It also uses column lists...
--
sebastian