Hi Peter
The updates to the Zend_Db_Table component are currently in incubator
- with them you'll be able to achieve something like:-
$select = $o_divisions->select()->order('yourcol ASC')-
>limit(10,20);
$o_products = $o_divisions->current()->findManyToManyRowset('Product',
'ProductDivision', $select);
I want to retrive a rowset based on a many-to-many relationsship.
Now I
do like below, but that give me in a not ordered way. And I want to do
the sorting etc based on this. I would also like to do a "LIMIT 10,20"
to just retrieve a set of this rowset. Either I just build my query
from
scratch, but I am interested to see if possible via the table
framework.
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
PeptoLab will be closed:
Saturday 15th December through until Monday 17th December
Saturday 22nd December through until Wednesday 2nd January
For urgent requests, please call 0438 046 061
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com