Re: Getting hold of newly created objects
[prev]
[thread]
[next]
[Date index for 2005/07/01]
Tony Bowden wrote:
>On Fri, Jul 01, 2005 at 12:19:59PM +0100, David Baird wrote:
>
>
>>I'm wondering if I've got the wrong end of the stick here and I'm just
>>being stupid. I need to create new objects and then work with them.
>>After creating the object, CDBI throws away all the object's data. The
>>primary key is an auto-increment column in MySQL - and the newly created
>>object does not include its primary key value. So there's no way to
>>retrieve the object from the db, or to get it to populate its column
>>values.
>>
>>
>
>You appear to be missing something.
>
>Everything should just work fine.
>
>Can you give an example of what you're trying to do that's failing?
>
>Tony
>
>
>
Hum. Whatever I was missing seems to be in place now! How unsettling.
Sorry for the noise.
d.