Module: Sequel::Plugins::InvertedSubsets::DatasetModuleMethods

Defined in:
lib/sequel/plugins/inverted_subsets.rb

Instance Method Summary collapse

Instance Method Details

#where(name, *args, &block) ⇒ Object

Define a not_ prefixed subset which inverts the subset condition.



46
47
48
49
# File 'lib/sequel/plugins/inverted_subsets.rb', line 46

def where(name, *args, &block)
  super
  exclude(inverted_subset_name(name), *args, &block)
end