public function fetchField($index = 0) {
// Call PDOStatement::fetchColumn to fetch the field.
return $this->fetchColumn($index);
}

想不到fetchColumn和fetchField一样
fetchField就是获取一个结果集(1个)

04-14 10:20