code: def as_command(self, sock_info):
          
          # See _Query.as_command for an explanation of this caching.
          if self._as_command is not None:
              return self._as_command
  
          cmd = _gen_get_more_command(self.cursor_id, self.coll,
                                      self.ntoreturn,
                                      self.max_await_time_ms)
  
          if self.session:
              self.session._apply_to(cmd, False, self.read_preference)
          sock_info.send_cluster_time(cmd, self.session, self.client)
          self._as_command = cmd, self.db
          return self._as_command
docs: Return a getMore command document for this query.