public function whereRaw(string $query, array $bindings = [], string $appendRule = 'AND'): self
    {
        $this->where[] = new RawCriterion(new Raw($query, $bindings), $appendRule);
        return $this;
    }
public function whereRaw(string $query, array $bindings = [], string $appendRule = 'AND'): self
    {
        $this->where[] = new RawCriterion(new Raw($query, $bindings), $appendRule);
        return $this;
    }
public function whereRaw ( string $ query , array $ bindings = [ ] , string $ appendRule = 'AND' ) : self { $ this -> where [ ] = new RawCriterion ( new Raw ( $ query , $ bindings ) , $ appendRule ) ; return $ this ; }
Adds a raw SQL criterion to the WHERE section.

@param string $query SQL statement
@param array $bindings Values to bind to the statement
@param string $appendRule How the criterion should be appended to the others (SQL boolean operator name)
@return $this
Adds a raw SQL criterion to the WHERE section .