Module: MmPartialUpdate

Defined in:
lib/mm_partial_update.rb,
lib/mm_partial_update/version.rb,
lib/mm_partial_update/update_command.rb,
lib/mm_partial_update/plugins/document.rb,
lib/mm_partial_update/one_embedded_proxy.rb,
lib/mm_partial_update/embedded_collection.rb,
lib/mm_partial_update/plugins/partial_update.rb,
lib/mm_partial_update/plugins/embedded_document.rb

Defined Under Namespace

Modules: EmbeddedCollection, OneEmbeddedProxy, Plugins Classes: UpdateCommand

Constant Summary collapse

Version =
'0.1.8'

Class Method Summary collapse

Class Method Details

.default_persistence_strategyObject



25
26
27
# File 'lib/mm_partial_update.rb', line 25

def self.default_persistence_strategy
  @default_persistence_strategy ||= :full_document
end

.default_persistence_strategy=(strategy) ⇒ Object



29
30
31
# File 'lib/mm_partial_update.rb', line 29

def self.default_persistence_strategy=(strategy)
  @default_persistence_strategy = strategy
end