src/Database.php
protected function executeStatement(PDOStatement $statement): bool
    {
        $success = false;

        try {
            $success = $statement->execute();
            if ($success === false) {
                throw new Exception('Error Execute');
            }
        } catch (Exception $e) {
            $this->addErrorStatement($statement);
            if ($this->configurator->hasThrowException()) {
                throw new DatabaseException('Error Execute');
            }
        }

        return $success;
    }
protected function executeStatement(PDOStatement $statement): bool
    {
        $success = false;

        try {
            $success = $statement->execute();
            if ($success === false) {
                throw new Exception('Error Execute');
            }
        } catch (Exception $e) {
            $this->addErrorStatement($statement);
            if ($this->configurator->hasThrowException()) {
                throw new DatabaseException('Error Execute');
            }
        }

        return $success;
    }
@param PDOStatement $statement

@throws DatabaseException

@return bool