Commit cf42b74f 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 d5c3ac85
......@@ -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