logo       
Google Custom Search
    AddThis Social Bookmark Button

DB_DataObject: how do I query composite primary keys?: msg#00476

Subject: DB_DataObject: how do I query composite primary keys?
Hello,

Does anyone know if it's possible to use DB_DataObjects if your database structure has composite primary keys?

Eg I have a table CONTACT
contactID
userID
contactName
contactDetails

contactID and userID form a composite primary key

How do I reflect this when I'm setting up the tables?

Also, how do I then query it?

Any help much appreciated

PJ





_________________________________________________________________



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





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>