|
|
@ -250,7 +250,7 @@ class QueryBuilderTest extends \yiiunit\framework\db\QueryBuilderTest |
|
|
|
[ |
|
|
|
[ |
|
|
|
'id' => 1, |
|
|
|
'id' => 1, |
|
|
|
], |
|
|
|
], |
|
|
|
$this->replaceQuotes('UPDATE [[profile]] SET [[description]]=:qp0 WHERE [[id]]=:qp1'), |
|
|
|
$this->replaceQuotes('UPDATE [[profile]] SET [[description]]=CAST(:qp0 AS JSON) WHERE [[id]]=:qp1'), |
|
|
|
[ |
|
|
|
[ |
|
|
|
':qp0' => '{"abc":"def","0":123,"1":null}', |
|
|
|
':qp0' => '{"abc":"def","0":123,"1":null}', |
|
|
|
':qp1' => 1, |
|
|
|
':qp1' => 1, |
|
|
|