protected function parseSet($data) { foreach ($data as $key => $val) { $value = $this->parseValue($val); if (is_scalar($value)) { // 过滤非标量数据 $set[] = $this->addSpecialChar($key) . '=' . $value; } } return ' SET ' . implode(',', $set); }