public function where($field, $value, $comparison = '==', $logical = 'and')
    {
        $this->conditions[] = [$field, $value, $comparison, $logical];

        return $this;
    }
public function where($field, $value, $comparison = '==', $logical = 'and')
    {
        $this->conditions[] = [$field, $value, $comparison, $logical];

        return $this;
    }
public function where ( $ field , $ value , $ comparison = '==' , $ logical = 'and' ) { $ this -> conditions [ ] = [ $ field , $ value , $ comparison , $ logical ] ; return $ this ; }
Adds where condition to relation

@param mixed  $field
@param mixed  $value
@param string $comparison
@param string $logical

@return $this
Adds where condition to relation