mysql2/lib/arel/engines/sql/compilers/mysql2_compiler.rb

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