DB autoExecute, etc. Resetting a column to its default value; is it possible and how?
| From: | Massimiliano Bariola | Date: | Fri, 07 Oct 2005 11:15:17 +0000 |
| Subject: | DB autoExecute, etc. Resetting a column to its default value; is it possible and how? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21271@lists.php.net to get a copy of this message | ||
Hi,
I have been using DB's autoExecute quite happily until now, but now I
have to use DB to create update queries which will reset some columns to
their default values (equivalent to pass the DEFAULT keyword as value in
a mySQL query).
unfortunately I can't do it via autoExecute as the values get escaped,
and was unable to accomplish it by using combinations of autoPrepare ()/
execute() statements.
Is there a way, which maybe I can't find? or go back to hand-create the
query is the only option?
thanks
--
Massimiliano Bariola
m.bariola@prodigiweb.it