Class: Arel::SqlCompiler::Mysql2Compiler
- Inherits:
-
GenericCompiler
- Object
- GenericCompiler
- Arel::SqlCompiler::Mysql2Compiler
- Defined in:
- lib/arel/engines/sql/compilers/mysql2_compiler.rb
Instance Method Summary collapse
Instance Method Details
#limited_update_conditions(conditions, taken) ⇒ Object
4 5 6 7 |
# File 'lib/arel/engines/sql/compilers/mysql2_compiler.rb', line 4 def limited_update_conditions(conditions, taken) conditions << " LIMIT #{taken}" conditions end |