count() public method (available since version 2.1)
Counts records in this collection.
public integer count ( $condition = [], $options = [] ) | ||
---|---|---|
$condition | array |
Query condition |
$options | array |
List of options in format: optionName => optionValue. |
return | integer |
Records count. |
Please login to continue.