Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Request #5997 getlinks on multible column keys
Submitted: 2005-11-17 13:14 UTC
From: nikolas dot hagelstein at googlemail dot com Assigned:
Status: Wont fix Package: DB_DataObject
PHP Version: Irrelevant OS: Linux 2.4.30
Roadmaps: (Not assigned)    
Subscription  


 [2005-11-17 13:14 UTC] nikolas dot hagelstein at googlemail dot com
Description: ------------ AFAIK it,s not possible to use getLinks() in common with multible column links. e.g.: 3 DB-tables -------- |person| Primary key on two colums (id and f_id) -------- |id | -------- |f_id | -------- ------ |firm| ------ |id | ------ ------ |car | Car belongs to a person which belongs to a firm ------ |p_id| |----| |f_id| ------ So getlinks isn't able to fecht a cars corresponding person.

Comments

 [2006-03-07 17:13 UTC] justinpatrin
DB_DataObject does not support multiple column keys (and hnce multiple column links). Use a single primary key or link it manually. (Additionally I suggets using getLink() and not getLinks())
 [2010-04-26 04:00 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Wont fix