Sha256: 4848abe0e125c315617e577c977e9ae56fd4d408f0856c081cec5a1b08037678

Contents?: true

Size: 218 Bytes

Versions: 9

Compression:

Stored size: 218 Bytes

Contents

module Arel
  module SqlCompiler
    class MySQLCompiler < GenericCompiler
      def limited_update_conditions(conditions, taken)
        conditions << " LIMIT #{taken}"
        conditions
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
arel-1.0.1 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-1.0.0 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-1.0.0.rc1 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-compat-0.4.0 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-0.4.0 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-0.3.3 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-0.3.2 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-0.3.1 lib/arel/engines/sql/compilers/mysql_compiler.rb
arel-0.3.0 lib/arel/engines/sql/compilers/mysql_compiler.rb