src/bbn/db.php
public function rselect_all($table, $fields = [], array $where = [], array $order = [], $limit = 0, $start = 0): ?array
  {
    if ( $r = $this->_exec(...$this->_add_kind(\func_get_args())) ){
      if ( \is_object($r) ){
        return $r->get_rows();
      }
      $this->log('ERROR IN RSELECT_ALL', $r);
    }
    return [];
  }
public function rselect_all($table, $fields = [], array $where = [], array $order = [], $limit = 0, $start = 0): ?array
  {
    if ( $r = $this->_exec(...$this->_add_kind(\func_get_args())) ){
      if ( \is_object($r) ){
        return $r->get_rows();
      }
      $this->log('ERROR IN RSELECT_ALL', $r);
    }
    return [];
  }
public function rselect_all ( $ table , $ fields = [ ] , array $ where = [ ] , array $ order = [ ] , $ limit = 0 , $ start = 0 ) : ? array { if ( $ r = $ this -> _exec ( ... $ this -> _add_kind ( \ func_get_args ( ) ) ) ) { if ( \ is_object ( $ r ) ) { return $ r -> get_rows ( ) ; } $ this -> log ( 'ERROR IN RSELECT_ALL' , $ r ) ; } return [ ] ; }
Return table's rows as an array of indexed arrays.

```php
\bbn\x::dump($db->rselect_all("tab_users", ["id", "name", "surname"], [["id", ">", 1]], ["id" => "ASC"], 2));
/*
(array) [
[
"id" => 2,
"name" => "John",
"surname" => "Smith",
],
[
"id" => 3,
"name" => "Thomas",
"surname" => "Jones",
]
]
```

@param string|array $table The table's name or a configuration array
@param string|array $fields The fields' name
@param array $where  The "where" condition
@param array | boolean $order condition, default: false
@param int $limit The "limit" condition, default: 0
@param int $start The "start" condition, default: 0
@return null|array
Return table s rows as an array of indexed arrays .