Livestatus\Connection: document hardcoded count
This commit is contained in:
parent
d6b9f56a2c
commit
be8120bd39
|
@ -96,6 +96,16 @@ class Connection
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Count unlimited rows matching the query filter
|
||||
*
|
||||
* TODO: Currently hardcoded value, as the old variant was stupid
|
||||
* Create a working variant doing this->execute(query->renderCount())...
|
||||
*
|
||||
* @param Query $query the query object
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function count(Query $query)
|
||||
{
|
||||
return 100;
|
||||
|
|
Loading…
Reference in New Issue