lib/piglet/relation/join.rb in piglet-0.2.5 vs lib/piglet/relation/join.rb in piglet-0.3.0
- old
+ new
@@ -3,10 +3,11 @@
module Piglet
module Relation
class Join # :nodoc:
include Relation
- def initialize(relation, description)
+ def initialize(relation, interpreter, description)
+ @interpreter = interpreter
@join_fields = Hash[*description.select { |k, v| k.is_a?(Relation) }.flatten]
@sources = @join_fields.keys
@using = description[:using]
@parallel = description[:parallel]
end
\ No newline at end of file