mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Elastic: Report number of rows
This commit is contained in:
@@ -62,9 +62,10 @@ if (isset($_GET["elastic"])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Min_Result {
|
class Min_Result {
|
||||||
var $_rows;
|
var $num_rows, $_rows;
|
||||||
|
|
||||||
function Min_Result($rows) {
|
function Min_Result($rows) {
|
||||||
|
$this->num_rows = count($this->_rows);
|
||||||
$this->_rows = $rows;
|
$this->_rows = $rows;
|
||||||
reset($this->_rows);
|
reset($this->_rows);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user