# File lib/moped/cursor.rb, line 134 def load_docs @options[:flags] |= [:no_cursor_timeout] if @options[:no_timeout] options = @options.clone options[:limit] = request_limit reply, @node = read_preference.with_node(session.cluster) do |node| [ node.query(@database, @collection, @selector, query_options(options)), node ] end @limit -= reply.count if limited? @cursor_id = reply.cursor_id reply.documents end