I want to update my row, but I got problem, all of the rows has been updated.
$db = array(
'status' => 3,
'result' => 19,
'output' => 'nice'
);
$link = '1399457644.c';
Yii::app()->db->createCommand()
->update('detailsubmission', $db)
->where('link like :link',array(':link'=>"%$link%"));
Can someone help me?