Commit ed2885c3 by Grant Furgiuele

Changed comment again to actually be correct. This is also consistent with the…

Changed comment again to actually be correct. This is also consistent with the draft of the definitive guide.
parent bc91853e
......@@ -17,7 +17,8 @@ use yii\base\InvalidCallException;
* iterating through the reader. For example,
*
* ~~~
* $reader = $command->setSql('SELECT * FROM tbl_post');
* $command = $connection->createCommand('SELECT * FROM tbl_post');
* $reader = $command->query();
*
* while ($row = $reader->read()) {
* $rows[] = $row;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment