aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/relations/recursion.rb
blob: 848b059507b0131653234891fe957f36b4db2e52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Arel
  module Recursion
    module BaseCase
      def table
        self
      end

      def table_sql(formatter = Sql::TableReference.new(self))
        formatter.table self
      end
    end
  end
end