Re: Getting data out of objects

[prev] [thread] [next] [Date index for 2005/04/27]

From: Perrin Harkins
Subject: Re: Getting data out of objects
Date: 20:46 on 27 Apr 2005
Gordon Haverland said:
> If the primary key is a single column, I gather a person can do
>  $obj->id;
> to retrieve it.

Even if it isn't a single column, $obj->id() should give you data (a list
of values in the case of multiple columns).  If it gives you nothing,
something is very messed up with your setup.  Turn on DBI_TRACE and debug
the DBI interaction.

- Perrin

Getting data out of objects
Gordon Haverland 19:53 on 27 Apr 2005

Re: Getting data out of objects
Perrin Harkins 20:46 on 27 Apr 2005

Re: Getting data out of objects
William Ross 20:56 on 27 Apr 2005

Generated at 10:24 on 04 May 2005 by mariachi v0.52