module Axiom::Optimizer::Relation::Operation::Binary::EmptyLeft

Optimize when the left operand is Empty

Public Instance Methods

optimizable?() click to toggle source

Test if the left operand is empty

@return [Boolean]

@api private

# File lib/axiom/optimizer/relation/operation/binary.rb, line 36
def optimizable?
  left.kind_of?(Axiom::Relation::Empty)
end