Is there any way in yii to get the array of the parameters passed in createCommand?
$countSQL= 'my sql query ';
$command = Yii::app()->db->createCommand($countSQL);
$command->bindValue(":param1",'%'.$param1.'%');
$command->bindValue(":param2",'%'.$param2.'%');
$command->queryAll();
I want to know if it there is any way to get the array which will be similar to
array(
":param1" => '%'.$param1.'%',
":param2" => '%'.$param2.'%',
)