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