/** * 指定需要写入的栏目及其值 * * @param array $rows * @return Typecho_Db_Query */ public function rows(array $rows) { foreach ($rows as $key => $row) { $this->_sqlPreBuild['rows'][$this->filterColumn($key)] = is_null($row) ? 'NULL' : $this->_adapter->quoteValue($row); } return $this; }