count() public method
Returns the number of records.
public integer count ( $q = '*', $db = null ) | ||
---|---|---|
$q | string |
The COUNT expression. This parameter is ignored by this implementation. |
$db | yii\elasticsearch\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.