Commit bc91853e by Grant Furgiuele

Modified example in DataReader usage comment to reference a DB Command function…

Modified example in DataReader usage comment to reference a DB Command function which accepts a SQL string argument.
parent b4fd5b5c
......@@ -17,7 +17,7 @@ use yii\base\InvalidCallException;
* iterating through the reader. For example,
*
* ~~~
* $reader = $command->query('SELECT * FROM tbl_post');
* $reader = $command->setSql('SELECT * FROM tbl_post');
*
* 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