RE: Hairy problem with has_a and has_many

[prev] [thread] [next] [Date index for 2005/02/23]

From: Zhuang Li
Subject: RE: Hairy problem with has_a and has_many
Date: 20:12 on 23 Feb 2005
Sorry, it should be:

With MySQL, it's also _OK_ if there is a unique key.

john

> -----Original Message-----
> From: Zhuang Li
> Sent: Wednesday, February 23, 2005 12:04 PM
> To: Perrin Harkins; JJ Merelo
> Cc: Cees Hek; cdbi-talk@xxxxxx.xxxxx.xxx
> Subject: RE: Hairy problem with has_a and has_many
>=20
> With MySQL, it's also if there is a unique key.
>=20
> john
>=20
> > -----Original Message-----
> > From: Perrin Harkins [mailto:perrin@xxxx.xxx]
> > Sent: Tuesday, February 22, 2005 10:18 AM
> > To: JJ Merelo
> > Cc: Cees Hek; cdbi-talk@xxxxxx.xxxxx.xxx
> > Subject: Re: Hairy problem with has_a and has_many
> >
> > On Tue, 2005-02-22 at 17:50 +0100, JJ Merelo wrote:
> > > There's no primary key. And I thought it assumed it was the first
> one
> > > only if All was specified.
> >
> > There has to be a primary key for Class::DBI to work.  It can't make
> an
> > object for a specific row in the database if there is no way to
refer
> to
> > a specific row.
> >
> > I would guess it's using the first column from Essential in this
case.
> >
> > - Perrin
> >
>=20
>=20


(message missing)

Hairy problem with has_a and has_many
JJ Merelo 16:00 on 22 Feb 2005

Re: Hairy problem with has_a and has_many
Cees Hek 16:22 on 22 Feb 2005

Re: Hairy problem with has_a and has_many
Joss Shaw 16:24 on 22 Feb 2005

Re: Hairy problem with has_a and has_many
JJ Merelo 16:50 on 22 Feb 2005

And now with ContextualFetch
JJ Merelo 16:55 on 22 Feb 2005

Re: And now with ContextualFetch
Perrin Harkins 18:15 on 22 Feb 2005

Re: And now with ContextualFetch
JJ Merelo 18:25 on 22 Feb 2005

Re: Hairy problem with has_a and has_many
Perrin Harkins 18:17 on 22 Feb 2005

Re: And now with ContextualFetch
Perrin Harkins 18:41 on 22 Feb 2005

Re: And now with ContextualFetch
JJ Merelo 18:56 on 22 Feb 2005

RE: Hairy problem with has_a and has_many
Zhuang Li 20:03 on 23 Feb 2005

RE: Hairy problem with has_a and has_many
Zhuang Li 20:12 on 23 Feb 2005

Generated at 22:43 on 24 Feb 2005 by mariachi v0.52