lib/dexter/query.rb in pgdexter-0.5.1 vs lib/dexter/query.rb in pgdexter-0.5.2
- old
+ new
@@ -29,10 +29,10 @@
def tree
parse.tree
end
def explainable?
- plans.any?
+ plans.size >= 3
end
def costs
plans.map { |plan| plan["Total Cost"] }
end