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

Sebastian Riedel sri@oook.de
Wed, 02 Feb 2005 21:39:22 +0100


Sebastian Riedel:
> > > >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...
> > 
> > OK but the column list in CDBI includes the alias of id for your PK, I 
> > mean that's the point  of an alias isn't it?
> > So is this or is this not, a priori, a problem?
> 
> OH right! I never used anything different than id, so i didn't know the
> alias thing. =)
> 
> It never was a "real" problem, since it's just in the factory
> templates...
> 

Ok i've tested it now, and columns() does NOT return id!

-- 
sebastian