instance method sql_query_length

Ruby on Rails 4.1.16

Since v2.3.18 Last seen in v6.0.6

Available in: v2.3.18 v3.0.20 v3.1.12 v3.2.22.5 v4.0.13 v4.1.16 v4.2.9 v5.2.8.1 v6.0.6

Signature

sql_query_length()

Returns the maximum length of an SQL query.

Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb, line 56
      def sql_query_length
        1048575
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb line 56 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::DatabaseLimits

Type at least 2 characters to search.

↑↓ navigate · open · esc close