code: public function getSlice($offset, $length)
      {
          $sql = $this->sql . $this->getLimitClause($offset, $length);
          $result = $this->pdo->perform($sql, $this->params)->fetchAll(\PDO::FETCH_ASSOC);
  
          return $result;
      }
docs: {@inheritdoc}