Sha256: 385c956d4549810ff64b027b897e01d56bcdc63c19f426c1af3749f5d60c85a4

Contents?: true

Size: 234 Bytes

Versions: 8

Compression:

Stored size: 234 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
arel-2.0.10 lib/arel/visitors/mssql.rb
square-arel-2.0.9.20110222133018 lib/arel/visitors/mssql.rb
arel-2.0.9 lib/arel/visitors/mssql.rb
arel-2.0.9.rc1 lib/arel/visitors/mssql.rb
arel-2.0.8 lib/arel/visitors/mssql.rb
arel-2.0.8.beta.20110131120940 lib/arel/visitors/mssql.rb
arel-2.0.7 lib/arel/visitors/mssql.rb
arel-2.0.7.beta.20110110114925 lib/arel/visitors/mssql.rb