mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 04:38:03 +08:00
Fixes #2968.
This commit is contained in:
@@ -335,7 +335,7 @@ class Command extends \yii\base\Component
|
|||||||
/**
|
/**
|
||||||
* Executes the SQL statement and returns the value of the first column in the first row of data.
|
* Executes the SQL statement and returns the value of the first column in the first row of data.
|
||||||
* This method is best used when only a single value is needed for a query.
|
* This method is best used when only a single value is needed for a query.
|
||||||
* @return string|boolean the value of the first column in the first row of the query result.
|
* @return string|null|boolean the value of the first column in the first row of the query result.
|
||||||
* False is returned if there is no value.
|
* False is returned if there is no value.
|
||||||
* @throws Exception execution failed
|
* @throws Exception execution failed
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user