class Range

  1. lib/sequel/extensions/pg_range.rb
Parent: pg_range.rb

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, line 526
def pg_range(db_type=nil)
  Sequel::Postgres::PGRange.from_range(self, db_type)
end