src/ORM/Connect/PDOConnector.php
protected function beforeQuery($sql)
    {
        // Reset state
        $this->rowCount = 0;
        $this->lastStatementError = null;

        // Flush if necessary
        if ($this->isQueryDDL($sql)) {
            $this->flushStatements();
        }
    }
protected function beforeQuery($sql)
    {
        // Reset state
        $this->rowCount = 0;
        $this->lastStatementError = null;

        // Flush if necessary
        if ($this->isQueryDDL($sql)) {
            $this->flushStatements();
        }
    }
protected function beforeQuery ( $ sql ) { // Reset state $ this -> rowCount = 0 ; $ this -> lastStatementError = null ; // Flush if necessary if ( $ this -> isQueryDDL ( $ sql ) ) { $ this -> flushStatements ( ) ; } }
Invoked before any query is executed

@param string $sql
Invoked before any query is executed