DB_DataObjects - Inserts and updates do not use keys in the data creation part of the query

From: Date: Wed, 19 Nov 2003 22:16:40 +0000
Subject: DB_DataObjects - Inserts and updates do not use keys in the data creation part of the query
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9033@lists.php.net to get a copy of this message
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

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