Class: SQB::WhereDSL::NegativeAttribute
- Defined in:
- lib/sqb/where_dsl.rb
Instance Method Summary collapse
- #=~(value) ⇒ Object (also: #like)
- #includes(*values) ⇒ Object (also: #in)
Methods inherited from Attribute
Constructor Details
This class inherits a constructor from SQB::WhereDSL::Attribute
Instance Method Details
#=~(value) ⇒ Object Also known as: like
73 74 75 |
# File 'lib/sqb/where_dsl.rb', line 73 def =~(value) @hash[@attribute_name][:not_like] = value end |
#includes(*values) ⇒ Object Also known as: in
78 79 80 |
# File 'lib/sqb/where_dsl.rb', line 78 def includes(*values) @hash[@attribute_name][:not_in] = values end |