count_find
- Ariadne >
- Library >
- Ariadne 2.4 >
- Manuals >
- Programmers Reference >
- Classes >
- Object >
- PINP Methods >
(int) count_find($query)
Returns the number of results matching the query.
| Argument | Description |
|---|---|
| (string) $query | The search query. |
count_find() works the same as the find() method, except it doesn't call a template on each object found matching the search query. Instead it simply returns the number of results found.
See find() for more information on the query
format.

