aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/algebra/relations/operations/from.rb
blob: 3ebfb10cb21b39b3e42643763dc32dbc9b361898 (plain) (tree)
1
2
3
4
5
6
7
8

                       





                                    



                                  

     
module Arel
  class From < Compound
    attr_reader :sources

    def initialize relation, sources
      super(relation)
      @sources = sources
    end

    def eval
      unoperated_rows[sources..-1]
    end
  end
end