method

encode_range

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Quoting
encode_range(range) public

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 210
          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.