Open GoogleCodeExporter opened 9 years ago
{{{ $agents = Shop::find('id = ? AND [agent.orderstatus] = 0', $shop_id) ->sum('money', 'money_sum') ->columns() ->getAll(); }}} 生成的 SQL 为: {{{ SELECT `llq_shop`.* SUM(`llq_order`.`money`) AS money_sum .... }}} 字段名之间缺少逗号
Original issue reported on code.google.com by dualf...@gmail.com on 12 Jan 2009 at 8:48
dualf...@gmail.com
T_T
Original comment by yunting...@gmail.com on 22 Feb 2009 at 3:45
yunting...@gmail.com
Original issue reported on code.google.com by
dualf...@gmail.com
on 12 Jan 2009 at 8:48