@@ -15,6 +15,9 @@ |
||
15 | 15 | |
16 | 16 | abstract public function storeMeasurement($prefix, $key, $value); |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $prefix |
|
20 | + */ |
|
18 | 21 | abstract public function getMeasurements($prefix, array $keys); |
19 | 22 | |
20 | 23 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | protected $statementKeyUpdate; |
27 | 27 | |
28 | 28 | protected function buildStatements() { |
29 | - $queryBuilder = $this->connection->createQueryBuilder() |
|
29 | + $queryBuilder = $this->connection->createQueryBuilder() |
|
30 | 30 | ->select('COUNT(`key`) AS amount') |
31 | 31 | ->from('`'.$this->table.'`') |
32 | 32 | ->where('`key` = ?') |