code: public function fetchAll($query, $params = array())
      {
          $rows = array();
          while($row = $this->fetch($query, $params)){
              $rows[] = $row;
          }
          return $rows;
      }
docs: 여러행 가져오기
  @param $query
  @param array $params
  @return array
  @throws Exception