On 4/16/05, <b class="gmail_sendername">Frank Wiegand</b> <<a href="mailto:frank.wiegand@gmail.com">frank.wiegand@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I. autoupdate with Catalyst::Model::CDBI<br><br>Is there any chance to get a new config option to turn autoupdate off in<br>Catalyst::Model::CDBI? In my CDBI classes I have some triggers that<br>change the values of already set values.
<br>
</blockquote></div><br>
A better question is why is autoupdate on by default? CDBI has
autoupdate off by default. On the one hand, having autoupdate on helps
avoid problems with forgetting to call update() (this one bit me just
last week). But I prefer updating manually because I know when I'm done
modifying the object.<br><br>Drew<br>-- <br>----------------------------------------------------------------<br>
Drew
Taylor
* Web development & consulting<br> Email: <a href="mailto:drew@drewtaylor.com">drew@drewtaylor.com</a> * Site implementation & hosting<br> Web : <a href="http://www.drewtaylor.com">www.drewtaylor.com</a> * perl/mod_perl/DBI/mysql/postgres
<br> ----------------------------------------------------------------