src/bbn/db.php
public function rselect($table, $fields = [], array $where = [], array $order = [], int $start = 0): ?array
  {
    if ( $r = $this->_exec(...$this->_add_kind($this->_set_limit_1(\func_get_args()))) ){
      return $r->get_row();
    }
    return null;
  }
public function rselect($table, $fields = [], array $where = [], array $order = [], int $start = 0): ?array
  {
    if ( $r = $this->_exec(...$this->_add_kind($this->_set_limit_1(\func_get_args()))) ){
      return $r->get_row();
    }
    return null;
  }
public function rselect ( $ table , $ fields = [ ] , array $ where = [ ] , array $ order = [ ] , int $ start = 0 ) : ? array { if ( $ r = $ this -> _exec ( ... $ this -> _add_kind ( $ this -> _set_limit_1 ( \ func_get_args ( ) ) ) ) ) { return $ r -> get_row ( ) ; } return null ; }
Return the first row resulting from the query as an indexed array.

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

@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 The "order" condition, default: false
@param int $start The "start" condition, default: 0
@return null|array
Return the first row resulting from the query as an indexed array .