Re: Structures_DataGrid, automatic DB_DataObject joinAdd experiment
| From: | arnaud sellenet | Date: | Sat, 06 Jan 2007 13:58:05 +0000 |
| Subject: | Re: Structures_DataGrid, automatic DB_DataObject joinAdd experiment | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26270@lists.php.net to get a copy of this message | ||
Le 6 janv. 07 à 12:04, Justin Patrin a écrit :
On 1/5/07, arnaud sellenet <demental@free.fr> wrote:But that's the only .links.ini config that doesn't raise an error nor make the wrong join in the example I've provided.Sorry, I need to do more work on this, which seems to be potentially ok : [category] id = category:parent_id parent_id = category:idOny the second one. You don't want or need the first. The parent_id in table category links to the id field in the table category, not the other way around. Yes that sounds anti-logical to me as well and is nothing but a hack.