Method: Moped::Protocol::Update#flags

Defined in:
lib/moped/protocol/update.rb

#flagsArray

The flags for the update message. Supported flags are :upsert and :multi.

Parameters:

  • flags (Array)

    the flags for this message

Returns:

  • (Array)

    the flags for this message



48
49
# File 'lib/moped/protocol/update.rb', line 48

flags    :flags, upsert: 2 ** 0,
multi:  2 ** 1