Class: MassInsert::Builder::Adapters::Mysql2Adapter
- Defined in:
- lib/mass_insert/builder/adapters/mysql2_adapter.rb
Instance Attribute Summary
Attributes inherited from Adapter
Instance Method Summary collapse
-
#timestamp_format ⇒ Object
The method is overwrited because the timestamp format to mysql adapter does not need accuracy with nanoseconds.
Methods inherited from Adapter
#columns, #initialize, #method_missing, #sanitized_columns, #timestamp, #timestamp?, #timestamp_hash, #values_per_insertion
Methods included from Helpers::AbstractQuery
#begin_string, #execute, #string_columns, #string_rows_values, #string_single_row_values, #string_single_value, #string_values
Constructor Details
This class inherits a constructor from MassInsert::Builder::Adapters::Adapter
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MassInsert::Builder::Adapters::Adapter
Instance Method Details
#timestamp_format ⇒ Object
The method is overwrited because the timestamp format to mysql adapter does not need accuracy with nanoseconds.
8 9 10 |
# File 'lib/mass_insert/builder/adapters/mysql2_adapter.rb', line 8 def "%Y-%m-%d %H:%M:%S" end |