final public function getOne($table, array $where, array $options = []) {
        $rows = $this->get($table, $where, $options);
        $row = $rows->fetch();

        return $row === false ? null : $row;
    }
final public function getOne($table, array $where, array $options = []) {
        $rows = $this->get($table, $where, $options);
        $row = $rows->fetch();

        return $row === false ? null : $row;
    }
final public function getOne ( $ table , array $ where , array $ options = [ ] ) { $ rows = $ this -> get ( $ table , $ where , $ options ) ; $ row = $ rows -> fetch ( ) ; return $ row === false ? null : $ row ; }
Get a single row from the database.

This is a convenience method that calls {@link Db::get()} and shifts off the first row.

@param string|Identifier $table The name of the table to get the data from.
@param array $where An array of where conditions.
@param array $options An array of additional options.
@return array|object|null Returns the row or false if there is no row.
Get a single row from the database .