[CDBI] construct sucks.

Tom Metro tmetro+cdbi at gmail.com
Sun Aug 27 21:51:13 BST 2006

Ryan Tate wrote:
> Uh, has anyone else ever noticed that ->construct kind of blows rocks?
> Specifically, if you ->construct an object that's already in the
> LiveObject index, CDBI will throw away perfectly good fresh data about
> the object -- columns not present at all in the indexed version -- and
> just hand you whatever incomplete object it has sitting around?

Yeah, I noticed that a while ago, and added an annotation about it here:


It does appear to be a bug and against the described purpose of ->construct.


Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/

More information about the ClassDBI mailing list