Elastic: Report number of rows
This commit is contained in:
parent
e411291537
commit
9fdcff3c1c
|
@ -62,9 +62,10 @@ if (isset($_GET["elastic"])) {
|
|||
}
|
||||
|
||||
class Min_Result {
|
||||
var $_rows;
|
||||
var $num_rows, $_rows;
|
||||
|
||||
function Min_Result($rows) {
|
||||
$this->num_rows = count($this->_rows);
|
||||
$this->_rows = $rows;
|
||||
reset($this->_rows);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue