lib/bmg/operator/project.rb in bmg-0.3.0 vs lib/bmg/operator/project.rb in bmg-0.4.0
- old
+ new
@@ -38,9 +38,13 @@
seen[projected] = true
end
end
end
+ def to_ast
+ [ :project, operand.to_ast, attrlist ]
+ end
+
protected ### optimization
def _restrict(type, predicate)
operand.restrict(predicate).project(attrlist)
end