method

encode_range

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Quoting
encode_range(range) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb, line 140
          def encode_range(range)
            "[#{type_cast_range_value(range.first)},#{type_cast_range_value(range.last)}#{range.exclude_end? ? ')' : ']'}"
          end
Register or log in to add new notes.