Sha256: 47bae3702d6fb413d61aaeffddc04a07d6079ff46f7101660410b7dcf6ce3087

Contents?: true

Size: 557 Bytes

Versions: 15

Compression:

Stored size: 557 Bytes

Contents

require "inventory_refresh/save_collection/saver/concurrent_safe_batch"

module InventoryRefresh::SaveCollection
  module Saver
    class Batch < InventoryRefresh::SaveCollection::Saver::ConcurrentSafeBatch
      private

      # Just returning manager ref transformed to column names, for strategies that do not expect to have unique DB
      # indexes.
      #
      # @return [Array<Symbol>] manager ref transformed to column names
      def unique_index_columns
        inventory_collection.manager_ref_to_cols.map(&:to_sym)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
inventory_refresh-2.2.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-2.1.1 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-2.1.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-2.0.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-1.1.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-1.0.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.2.3 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.2.2 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.2.1 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.2.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.1.3 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.1.2 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.1.1 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.1.0 lib/inventory_refresh/save_collection/saver/batch.rb
inventory_refresh-0.0.1 lib/inventory_refresh/save_collection/saver/batch.rb