aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/recursion/base_case.rb
blob: 84a526f57c7dd6d7b9279e6b11beceebf225b479 (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