Sha256: 1e55ca75b0ca5a74047489100fdb7c1747014708df3c2825f8682122debac81e

Contents?: true

Size: 515 Bytes

Versions: 39

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters # :nodoc:
    module DatabaseLimits
      def max_identifier_length # :nodoc:
        64
      end

      # Returns the maximum length of a table alias.
      def table_alias_length
        max_identifier_length
      end

      # Returns the maximum length of an index name.
      def index_name_length
        max_identifier_length
      end

      private
        def bind_params_length
          65535
        end
    end
  end
end

Version data entries

39 entries across 37 versions & 5 rubygems

Version Path
activerecord-7.0.8.6 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.8.5 lib/active_record/connection_adapters/abstract/database_limits.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/database_limits.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/database_limits.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/database_limits.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.8.4 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.8.1 lib/active_record/connection_adapters/abstract/database_limits.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-7.0.2.3/lib/active_record/connection_adapters/abstract/database_limits.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.8 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.7.2 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.7.1 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.7 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.6 lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.5.1 lib/active_record/connection_adapters/abstract/database_limits.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/database_limits.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activerecord-7.0.2.3/lib/active_record/connection_adapters/abstract/database_limits.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/connection_adapters/abstract/database_limits.rb
activerecord-7.0.5 lib/active_record/connection_adapters/abstract/database_limits.rb