src/NotORM/Result.php
function updateMultiCounters(array $data) {
        $updateData = array();

        // 转换
        foreach ($data as $column => $number) {
            $updateData[$column] = $this->createLiteral($column, $number); 
        }

        return $this->update($updateData);
    }
function updateMultiCounters(array $data) {
        $updateData = array();

        // 转换
        foreach ($data as $column => $number) {
            $updateData[$column] = $this->createLiteral($column, $number); 
        }

        return $this->update($updateData);
    }
更新多个计数器

@param array $data

@ return int number of affected rows or false in case of an error