Class: Hotdog::Commands::Search::EverythingNode

Inherits:
QueryExpressionNode show all
Defined in:
lib/hotdog/commands/search.rb

Instance Attribute Summary

Attributes inherited from QueryExpressionNode

#query, #values

Instance Method Summary collapse

Methods inherited from QueryExpressionNode

#dump, #evaluate

Methods inherited from ExpressionNode

#dump, #evaluate, #intermediates, #leafs, #optimize

Constructor Details

#initialize(options = {}) ⇒ EverythingNode

Returns a new instance of EverythingNode.



763
764
765
# File 'lib/hotdog/commands/search.rb', line 763

def initialize(options={})
  super("SELECT id AS host_id FROM hosts", [], options)
end