src/Db/MySqlDb.php
public function update($tablename, array $set, array $where, array $options = []) {
        $sql = $this->buildUpdate($tablename, $set, $where, true, $options);
        $result = $this->query($sql, Db::QUERY_WRITE);

        if ($result instanceof \PDOStatement) {
            /* @var \PDOStatement $result */
            return $result->rowCount();
        }
        return $result;
    }
public function update($tablename, array $set, array $where, array $options = []) {
        $sql = $this->buildUpdate($tablename, $set, $where, true, $options);
        $result = $this->query($sql, Db::QUERY_WRITE);

        if ($result instanceof \PDOStatement) {
            /* @var \PDOStatement $result */
            return $result->rowCount();
        }
        return $result;
    }
{@inheritdoc}