public function last()
    {
        $lastIndex = $this->count() - 1;
        if ($this->offsetExists($lastIndex)) {
            return $this->offsetGet($lastIndex);
        }
    }
public function last()
    {
        $lastIndex = $this->count() - 1;
        if ($this->offsetExists($lastIndex)) {
            return $this->offsetGet($lastIndex);
        }
    }
public function last ( ) { $ lastIndex = $ this -> count ( ) - 1 ; if ( $ this -> offsetExists ( $ lastIndex ) ) { return $ this -> offsetGet ( $ lastIndex ) ; } }
Get last sql query if single query will return first query.

@return \Realboard\Component\Database\DBInstance\Sql
Get last sql query if single query will return first query .