Re: DB_DataObjects - Inserts and updates do not use keys in the data creation part of the query
| From: | Alan Knowles | Date: | Thu, 20 Nov 2003 14:50:48 +0000 |
| Subject: | Re: DB_DataObjects - Inserts and updates do not use keys in the data creation part of the query | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9068@lists.php.net to get a copy of this message | ||
Can you try the CVS version, and define sequenceKey() to return array(false,false);
Regards
Alan
Daniel Kopp wrote:
Hi! I can understand the sense of the feature mentioned above but ... How am I supposed to do inserts if I have the ID already? $db->query(INSERT .... ? Is there a way to get the old behavior back? How about insert(useprimary=FALSE) ? Strange is, that if the primary key consists of 2 fields I can set one of them but not both. Regards Daniel