Re: Data Object get() doubt

From: Date: Sat, 12 Feb 2005 07:36:20 +0000
Subject: Re: Data Object get() doubt
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17503@lists.php.net to get a copy of this message
On 12/02/2005, at 12:15 PM, Justin Patrin wrote:
Not only get() but many other things won't work. DB_DataObject doe snot currently support primary keys of more than one field. I would suggest you create an auto incrementing id field for the primary key, then add a unique constraint on the other two fields. This way you have your uniqueness *and* a simple primary key.
How bout transactions and foreign keys ?

« previous php.pear.general (#17503) next »