Class: Hotdog::Expression::NothingNode

Inherits:
QueryExpressionNode show all
Defined in:
lib/hotdog/expression/semantics.rb

Instance Attribute Summary

Attributes inherited from QueryExpressionNode

#query, #values

Instance Method Summary collapse

Methods inherited from QueryExpressionNode

#dump, #evaluate

Methods inherited from ExpressionNode

#==, #compact, #dump, #evaluate, #optimize

Constructor Details

#initialize(options = {}) ⇒ NothingNode

Returns a new instance of NothingNode.



622
623
624
# File 'lib/hotdog/expression/semantics.rb', line 622

def initialize(options={})
  super("SELECT NULL AS host_id WHERE host_id NOT NULL;", [], options)
end