src/DB_Table.php
public function runQuery($sql, $arguments = false)
    {
        if (!$stmt = $this->getStatement($sql, $arguments)) {
            // Something went wrong executing the SQL statement
            return false;
        }

        // If there are no arguments, execute the statement
        if (!$arguments) {
            $stmt->execute();
        }

        $rows = $stmt->rowCount();

        if ($rows > 0) {
            //Good, Rows where affected
            $this->log->report("$rows row(s) where Affected");
            return true;
        } else {
            //Bad, No Rows where Affected
            $this->log->report('No rows were Affected');
            return false;
        }
    }
public function runQuery($sql, $arguments = false)
    {
        if (!$stmt = $this->getStatement($sql, $arguments)) {
            // Something went wrong executing the SQL statement
            return false;
        }

        // If there are no arguments, execute the statement
        if (!$arguments) {
            $stmt->execute();
        }

        $rows = $stmt->rowCount();

        if ($rows > 0) {
            //Good, Rows where affected
            $this->log->report("$rows row(s) where Affected");
            return true;
        } else {
            //Bad, No Rows where Affected
            $this->log->report('No rows were Affected');
            return false;
        }
    }
Executes SQL query and checks for success

@param string     $sql       -  SQL query string
@param array|bool $arguments -  Array of arguments to execute $sql with

@return bool