Module: ActiveRecord::SaveMany

Defined in:
lib/activerecord_save_many/save_many.rb

Defined Under Namespace

Modules: ClassMethods, Functions, MySQL

Constant Summary collapse

MAX_QUERY_SIZE =
1024 * 1024
OPTIONS_KEYS =

options for the create_many method

[:columns, :max_rows, :replace, :async, :ignore, :update, :updates].to_set
SQL_OPTIONS_KEYS =

options for the save_many_sql method

[:replace, :async, :ignore, :update, :updates].to_set

Class Attribute Summary collapse

Class Attribute Details

.default_max_rowsObject

Returns the value of attribute default_max_rows.



13
14
15
# File 'lib/activerecord_save_many/save_many.rb', line 13

def default_max_rows
  @default_max_rows
end