logo       

DB_DataObjects - Inserts and updates do not use keys in the data creation p: msg#00334

php.pear.general

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

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

--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise