mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 05:08:42 +08:00
Merge pull request #1598 from docsolver/patch-1
Small correction in DB\Query comments
This commit is contained in:
@@ -148,7 +148,7 @@ class Query extends Component implements QueryInterface
|
||||
* Executes the query and returns a single row of result.
|
||||
* @param Connection $db the database connection used to generate the SQL statement.
|
||||
* If this parameter is not given, the `db` application component will be used.
|
||||
* @return array|boolean the first row (in terms of an array) of the query result. False is returned if the query
|
||||
* @return array|boolean the first row (in terms of an array) of the query result. Null is returned if the query
|
||||
* results in nothing.
|
||||
*/
|
||||
public function one($db = null)
|
||||
|
||||
Reference in New Issue
Block a user