merge iterable queries with new count_time

This commit is contained in:
Shish 2019-07-07 11:11:27 +01:00
parent d64603674e
commit 3954f3d296

View file

@ -256,7 +256,7 @@ class Database
{
$_start = microtime(true);
$data = $this->execute($query, $args);
$this->count_time("get_all_iterable", $_start);
$this->count_time("get_all_iterable", $_start, $query, $args);
return $data;
}
@ -293,7 +293,7 @@ class Database
{
$_start = microtime(true);
$stmt = $this->execute($query, $args);
$this->count_time("get_col_iterable", $_start);
$this->count_time("get_col_iterable", $_start, $query, $args);
foreach ($stmt as $row) {
yield $row[0];
}