Sha256: a963cbdd9241c9f8f7eb7582f30783b510acdf41764af660e96e2570717c404b

Contents?: true

Size: 235 Bytes

Versions: 22

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module Switchman
  module ActiveRecord
    module Batches
      def batch_order
        ::Arel.sql("#{connection.quote_local_table_name(table_name)}.#{quoted_primary_key} ASC")
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
switchman-2.2.3 lib/switchman/active_record/batches.rb
switchman-2.2.2 lib/switchman/active_record/batches.rb
switchman-2.2.1 lib/switchman/active_record/batches.rb
switchman-2.2.0 lib/switchman/active_record/batches.rb
switchman-2.1.6 lib/switchman/active_record/batches.rb
switchman-2.1.5 lib/switchman/active_record/batches.rb
switchman-2.1.4 lib/switchman/active_record/batches.rb
switchman-2.1.3 lib/switchman/active_record/batches.rb
switchman-2.1.2 lib/switchman/active_record/batches.rb
switchman-2.1.1 lib/switchman/active_record/batches.rb
switchman-2.1.0 lib/switchman/active_record/batches.rb
switchman-2.0.13 lib/switchman/active_record/batches.rb
switchman-2.0.12 lib/switchman/active_record/batches.rb
switchman-2.0.11 lib/switchman/active_record/batches.rb
switchman-2.0.10 lib/switchman/active_record/batches.rb
switchman-2.0.9 lib/switchman/active_record/batches.rb
switchman-2.0.8 lib/switchman/active_record/batches.rb
switchman-2.0.7 lib/switchman/active_record/batches.rb
switchman-2.0.6 lib/switchman/active_record/batches.rb
switchman-2.0.5 lib/switchman/active_record/batches.rb