Module: Sequel::Dataset::Nullifiable

Defined in:
lib/sequel/extensions/null_dataset.rb

Instance Method Summary collapse

Instance Method Details

#nullifyObject

Return a cloned nullified dataset.



39
40
41
# File 'lib/sequel/extensions/null_dataset.rb', line 39

def nullify
  clone.nullify!
end

#nullify!Object

Nullify the current dataset



44
45
46
# File 'lib/sequel/extensions/null_dataset.rb', line 44

def nullify!
  extend NullDataset
end