Re: Custom ID /PKEY with DB_Dataobjects
| From: | Justin Patrin | Date: | Tue, 24 Jan 2006 04:35:37 +0000 |
| Subject: | Re: Custom ID /PKEY with DB_Dataobjects | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22654@lists.php.net to get a copy of this message | ||
On 1/23/06, Phillip Novess <pnovess@mac.com> wrote:
> Does anybody know how to go about creating a custom ID using the MySQL
> UUID function and DB_DATAOBJECTS?
>
You could make the make the ID column a "manual" key (see
sequenceKey() method) and then create the value in the insert()
function.
--
Justin Patrin