DataObject, postgres insert return vals.
| From: | John Ensign | Date: | Sun, 30 Apr 2006 18:30:41 +0000 |
| Subject: | DataObject, postgres insert return vals. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23896@lists.php.net to get a copy of this message | ||
Hi all,
Im using pg 7.4 and the latest DataObject package.
Maybe im losing my mind but...
On successful inserts all i get returned is 1 instead of the new pk value.
Is DO for pg set to return 1 or true on successful insert?
( I was hoping it would load up the new primary key into the object. )
thanks,
john