class Range

  1. lib/sequel/extensions/pg_range.rb
Superclass: Object

Methods

Public Instance

  1. pg_range

Public Instance methods

pg_range (db_type=nil)

Create a new PGRange using the receiver as the input range, with the given database type.

[show source]
    # File lib/sequel/extensions/pg_range.rb
560 def pg_range(db_type=nil)
561   Sequel::Postgres::PGRange.from_range(self, db_type)
562 end