[CDBI] Scope of autoupdate/update?
Christopher H. Laco
claco at chrislaco.com
Tue Aug 2 20:54:07 BST 2005
Christopher H. Laco wrote:
Big duh. Never fails. I always see what I missed in the POD AFTER I post
a question. :-/
> When called as a class method it will control the updating style for every instance of the class.
> When called on an individual object it will control updating for just that object, overriding the choice for the class.
> I think it should be possible to create a custom HAS_A relationship
> class that automatically flips the autoupdate bit based on the parents
> autoupdate bit, but that of course assumes that autoupdate is scoped
So, with that said, what's the best way to disable the autoupdate for
all instances returned by a has_a relationship without actually cycling
through each result before passing it along?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digitalcraftsmen.net/mailman/private/classdbi/attachments/20050802/fca28879/smime.bin
More information about the ClassDBI