2008年12月24日星期三

Re: [fw-db] How to select sum(amount) by Zend FrameWork

Hi,

> I've tried array('SUM(amount)') or
> array('thecolumn'=>'SUM(amount)'), but it
> not working properly.

array('thecolumn' => new Zend_Db_Expr('SUM(amount)'))

Marco Pracucci

没有评论: