class Range

Public Instance Methods

pg_range(db_type=nil) click to toggle source

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

    # File lib/sequel/extensions/pg_range.rb
545 def pg_range(db_type=nil)
546   Sequel::Postgres::PGRange.from_range(self, db_type)
547 end