mysql2/lib/arel/engines/sql/compilers/mysql2_compiler.rb
2010-04-15 12:23:24 -07:00

12 lines
219 B
Ruby

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