# File lib/arel/engines/sql/compilers/ibm_db_compiler.rb, line 34 def limited_update_conditions(conditions, taken) quoted_primary_key = engine.quote_table_name(primary_key) update_conditions = "WHERE #{quoted_primary_key} IN (SELECT #{quoted_primary_key} FROM #{engine.connection.quote_table_name table.name} #{conditions} " #Note: - ')' not added, limit segment is to be appended engine.add_limit_offset!(update_conditions,{:limit=>taken,:offset=>nil}) update_conditions << ")" # Close the sql segment update_conditions end