| DocResult::fetchAllGet all rows Description
   public array mysql_xdevapi\DocResult::fetchAll() Fetch all results from a result set. ParametersThis function has no parameters. Return ValuesA numerical array with all results from the query; each result is an associative array. An empty array is returned if no rows are present. ExamplesExample #1 mysql_xdevapi\DocResult::fetchAll example The above example will output something similar to: 
array(2) {
  [0]=>
  array(4) {
    ["_id"]=>
    string(28) "00005b6b53610000000000000123"
    ["age"]=>
    int(42)
    ["job"]=>
    string(6) "Butler"
    ["name"]=>
    string(8) "Reginald"
  }
  [1]=>
  array(4) {
    ["_id"]=>
    string(28) "00005b6b53610000000000000122"
    ["age"]=>
    int(18)
    ["job"]=>
    string(6) "Butler"
    ["name"]=>
    string(6) "Alfred"
  }
}
 |