[CDBI] Re: construct sucks.

Perrin Harkins perrin at elem.com
Mon Aug 28 19:46:01 BST 2006


On Mon, 2006-08-28 at 11:22 -0700, Ryan Tate wrote:
> Would it be appropriate to "die" in such a case (where the code is
> being asked to "construct" an object in a manner that overwrites
> changed columns that have not been saved to the database)? I would
> think so, since it seems like accidental sort of behavior, not
> something anyone would have good reason to do.

I would think you'd want to just ignore the obsolete data from the db,
not die.

- Perrin




More information about the ClassDBI mailing list