Sha256: a5c7252ccc9f394028f1ef8f45de88b4ef694d60a15251871ae9fe19558191f5

Contents?: true

Size: 442 Bytes

Versions: 3

Compression:

Stored size: 442 Bytes

Contents

module MassInsert
  module Adapters
    class PostgreSQLAdapter < Adapter

      # This functions calls the necessary functions to create a complete
      # postgresql query to multiple insertion. The methods are in the
      # AbstractQuery module. If some method is too specific to this database
      # adapter you can overwrite it.
      def execute
        "#{begin_string}#{string_columns}#{string_values}"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mass_insert-0.0.3 lib/mass_insert/adapters/postgresql_adapter.rb
mass_insert-0.0.2 lib/mass_insert/adapters/postgresql_adapter.rb
mass_insert-0.0.1 lib/mass_insert/adapters/postgresql_adapter.rb