Class: ParamsReady::Query::NullnessPredicateBuilder

Inherits:
AbstractPredicateBuilder show all
Includes:
HavingAttribute, HavingValue
Defined in:
lib/params_ready/query/nullness_predicate.rb

Class Method Summary collapse

Methods included from Extensions::Registry

#human_string, #registry

Methods inherited from AbstractBuilder

#build, builder, define_parameter, define_registered_parameter, #fetch, fetch_builder, #include, #initialize, #open?, register, register_deprecated, resolve

Constructor Details

This class inherits a constructor from ParamsReady::AbstractBuilder

Class Method Details

.instance(name, altn: nil, attr: nil) ⇒ Object



45
46
47
# File 'lib/params_ready/query/nullness_predicate.rb', line 45

def self.instance(name, altn: nil, attr: nil)
  new NullnessPredicateDefinition.new name, altn: altn, attribute_name: attr
end