Re: DB_DataObject, best practice for muti row links?

From: Date: Sat, 08 Mar 2003 05:10:07 +0000
Subject: Re: DB_DataObject, best practice for muti row links?
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-4103@lists.php.net to get a copy of this message
technically - the best way is to fetch all the first lot, then use select ... form ... where id in(1,3,4,5...) and overlay the two together.. either that or explore the JoinAdd method.. Regards alan Daniel Von Fange wrote:
getLinks is cool and spiffy when I have just one row to deal with. But what if I have a page with fifty tasks, and I want to display the employees name from the employees table by each task? Fiftty calls to getLinks()? That would seem be the wrong solution.... Is there a better way? Or is this something that has not been built yet? -- Daniel Von Fange


« previous php.pear.general (#4103) next »