2010年4月15日星期四

[fw-db] getting only specific columns from match table

Suppose you have

         $rowset = $row->findManyToManyRowset('MyMatchTableClass', 'MyIntersectionTableClass')

but you don't want MyMatchTableClass.* (all the matching table columns) in the resulting rowset, just a couple. I have seen examples showing how to pass a $select with ORDER and LIMIT clauses, but nothing regarding this particular issue.

Thanks!

--
Support real health care reform:
http://phimg.org/

--
David Mintz
http://davidmintz.org/


没有评论: