code: public function fetchAll()
      {
          if ($this->statement == null || $this->getErrorState() != '00000') {
              return false;
          }
  
          return $this->statement->fetchAll(\PDO::FETCH_ASSOC);
      }
docs: Get all result rows.
  
  @return bool|array results data or false if something went wrong