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

12 lines
219 B
Ruby
Raw Normal View History

2010-04-15 19:23:24 +00:00
module Arel
module SqlCompiler
class Mysql2Compiler < GenericCompiler
def limited_update_conditions(conditions, taken)
conditions << " LIMIT #{taken}"
conditions
end
end
end
end