#1 rubbish
如何update某字段的值+1?如:
用model里的update如何写?
update table1
set
num = num+1
貌似只能用spModel->query写完整语句?
2010-06-08 23:39:41
用model里的update如何写?
update table1
set
num = num+1
2010-06-08 23:39:41
array(那输出sql就是
'num' => 'num +1' //???
)
update tablela了
set
num = 'num+1'
2010-06-09 10:03:15
2010-06-09 10:43:37
2010-06-09 15:10:06
2010-06-10 13:28:14