12 lines
219 B
Ruby
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
|
||
|
|