original_string: protected function whereDate(Builder $query, $where)
      {
          $value = $this->parameter($where['value']);
  
          return 'cast('.$this->wrap($where['column']).' as date) '.$where['operator'].' '.$value;
      }
code: protected function whereDate(Builder $query, $where)
      {
          $value = $this->parameter($where['value']);
  
          return 'cast('.$this->wrap($where['column']).' as date) '.$where['operator'].' '.$value;
      }
code_tokens: protected function whereDate ( Builder $ query , $ where ) { $ value = $ this -> parameter ( $ where [ 'value' ] ) ; return 'cast(' . $ this -> wrap ( $ where [ 'column' ] ) . ' as date) ' . $ where [ 'operator' ] . ' ' . $ value ; }
docstring: Compile a "where date" clause.
  
  @param  \Illuminate\Database\Query\Builder  $query
  @param  array  $where
  @return string
docstring_tokens: Compile a where date clause .