Class: DDQL::TokenType::NullOperators
- Inherits:
-
Object
- Object
- DDQL::TokenType::NullOperators
- Includes:
- Singleton
- Defined in:
- lib/ddql/token_type.rb
Instance Method Summary collapse
Instance Method Details
#as_hash(data) ⇒ Object
260 261 262 |
# File 'lib/ddql/token_type.rb', line 260 def as_hash(data) {op: {op_is: 'IS'}, right: {null_value_type: data.squish.split(' ').last}} end |
#comparison? ⇒ Boolean
264 265 266 |
# File 'lib/ddql/token_type.rb', line 264 def comparison? true end |