This commit is contained in:
Qiang Xue
2014-04-07 20:07:25 -04:00
parent f46b51eaf4
commit 5e9015c89a

View File

@@ -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.
* 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.
* @throws Exception execution failed
*/