Newscoop\Doctrine\AdoDbAdapter::executeUpdate PHP Method

executeUpdate() public method

Execute INSERT/UPDATE/DELETE statement and return number of affected rows
public executeUpdate ( string $sql ) : integer
$sql string
return integer
    public function executeUpdate($sql)
    {
        return $this->affectedRows = $this->connection->executeUpdate($sql);
    }