method

encode_range

Importance_0
v6.1.7.7 - 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 203
          def encode_range(range)
            "[#{type_cast_range_value(range.begin)},#{type_cast_range_value(range.end)}#{range.exclude_end? ? ')' : ']'}"
          end
Register or log in to add new notes.