aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/equality.rb
blob: d778380054c6ade1354764dccc072d307520c809 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                 




                                                      


       
module Arel
  module Nodes
    class Equality
      attr_accessor :left, :right

      def initialize left, right
        @left  = left
        @right = right
      end

      def to_sql
        viz = Visitors::ToSql.new left.relation.engine
        viz.accept self
      end
    end
  end
end