queryScalar() protected method
Queries a scalar value by setting select() first.
Restores the value of select to make this query reusable.
| protected boolean|string queryScalar ( $selectExpression, $db ) | ||
|---|---|---|
| $selectExpression | string|yii\db\Expression | |
| $db | yii\db\Connection|null | |
Please login to continue.