Re: Structures_DataGrid, automatic DB_DataObject joinAdd experiment
| From: | Olivier Guilyardi | Date: | Fri, 05 Jan 2007 20:49:19 +0000 |
| Subject: | Re: Structures_DataGrid, automatic DB_DataObject joinAdd experiment | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26259@lists.php.net to get a copy of this message | ||
Hi,
Justin Patrin wrote:
If you're nesting links then you need to nest you joinAdd calls. $b->joinAdd($c); $a->joinAdd($b); $a->find() && $a->fetch(); At least, this is how it works with DO objects. The reason this is failing for you is because a does not join with a, it joins with b.Arnaud, does Justin answer help you ?
On 12/30/06, arnaud sellenet <demental@free.fr> wrote:
Your work is interesting. I don't know whether these new features should be integrated into the DB_DataObject driver or if it's better to make a new driver. What's your point of view on this? Regards, -- OlivierI've written a quick example here : http://demental.info/pear_exp/