public count ( string $q = '*', |
||
$q | string | the COUNT expression. This parameter is ignored by this implementation. |
$db | the database connection used to execute the query. If this parameter is not given, the `elasticsearch` application component will be used. | |
return | integer | number of records |