public function matches($sqlQuery)
    {
        if (empty($this->compiledQuery)) {
            $this->compileQuery();
        }

        return $sqlQuery === $this->compiledQuery;
    }
public function matches($sqlQuery)
    {
        if (empty($this->compiledQuery)) {
            $this->compileQuery();
        }

        return $sqlQuery === $this->compiledQuery;
    }
public function matches ( $ sqlQuery ) { if ( empty ( $ this -> compiledQuery ) ) { $ this -> compileQuery ( ) ; } return $ sqlQuery === $ this -> compiledQuery ; }
Check if the query matches against the query and parameters.

@param string $sqlQuery The query to match against.

@return bool
Check if the query matches against the query and parameters .