sum() public method
Returns the number of records.
public integer sum ( $column, $db = null ) | ||
---|---|---|
$column | string |
The column to sum up |
$db | yii\redis\Connection |
The database connection used to execute the query. If this parameter is not given, the |
return | integer |
Number of records |
Please login to continue.