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