Livestatus\Connection: document hardcoded count

This commit is contained in:
Thomas Gelf 2014-11-16 15:53:19 +01:00
parent d6b9f56a2c
commit be8120bd39
1 changed files with 10 additions and 0 deletions

View File

@ -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;