public function oldest($column = null)
    {
        if (is_null($column)) {
            $column = $this->model->getCreatedAtColumn() ?? 'created_at';
        }

        $this->query->oldest($column);

        return $this;
    }
public function oldest($column = null)
    {
        if (is_null($column)) {
            $column = $this->model->getCreatedAtColumn() ?? 'created_at';
        }

        $this->query->oldest($column);

        return $this;
    }
public function oldest ( $ column = null ) { if ( is_null ( $ column ) ) { $ column = $ this -> model -> getCreatedAtColumn ( ) ?? 'created_at' ; } $ this -> query -> oldest ( $ column ) ; return $ this ; }
Add an "order by" clause for a timestamp to the query.

@param  string  $column
@return $this
Add an order by clause for a timestamp to the query .