code: def chunk(self, count):
          
          for chunk in self._connection.select_many(
              count, self.to_sql(), self.get_bindings(), not self._use_write_connection
          ):
              yield chunk
docs: Chunk the results of the query
  
          :param count: The chunk size
          :type count: int
  
          :return: The current chunk
          :rtype: list