Sha256: e19b9efa33d0cfa7299ceba2bc5f06192e0866cb6923baa0549ac893d9c18bca

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 Bytes

Contents

module MassInsert
  module Adapters
    class Mysql2Adapter < Adapter

      # This method is overwrite because the timestamp format to this
      # database engine does not need precision in nanoseconds.
      def timestamp_format
        "%Y-%m-%d %H:%M:%S"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mass_insert-0.1.1 lib/mass_insert/adapters/mysql2_adapter.rb
mass_insert-0.1.0 lib/mass_insert/adapters/mysql2_adapter.rb
mass_insert-0.0.4 lib/mass_insert/adapters/mysql2_adapter.rb