# File lib/mongo/protocol/update.rb, line 54 def initialize(database, collection, selector, update, options = {}) @database = database @collection = collection @namespace = "#{database}.#{collection}" @selector = selector @update = update @flags = options[:flags] || [] @upconverter = Upconverter.new(collection, selector, update, flags) super end