aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/visitors/mssql.rb
blob: 9b0e77c19bc8478d32ab8df8063b6b1bfe12d820 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                       
module Arel
  module Visitors
    class MSSQL < Arel::Visitors::ToSql
      private

      def visit_Arel_Nodes_Limit o
        ""
      end

      def visit_Arel_Nodes_Top o
        "TOP #{visit o.expr}"
      end

    end
  end
end