src/ORM/Queries/SQLSelect.php
public function firstRow()
    {
        $query = clone $this;
        $offset = $this->limit ? $this->limit['start'] : 0;
        $query->setLimit(1, $offset);
        return $query;
    }
public function firstRow()
    {
        $query = clone $this;
        $offset = $this->limit ? $this->limit['start'] : 0;
        $query->setLimit(1, $offset);
        return $query;
    }
public function firstRow ( ) { $ query = clone $ this ; $ offset = $ this -> limit ? $ this -> limit [ 'start' ] : 0 ; $ query -> setLimit ( 1 , $ offset ) ; return $ query ; }
Returns a query that returns only the first row of this query

@return SQLSelect A clone of this object with the first row only
Returns a query that returns only the first row of this query