fetchField 和 fetchColumn

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

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

posted @ 2016-10-11 15:08  qqisnow2021  阅读(195)  评论(0编辑  收藏  举报