Class: Range
Instance Method Summary collapse
- 
  
    
      #pg_range(db_type = nil)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Create a new PGRange using the receiver as the input range, with the given database type. 
Instance Method Details
#pg_range(db_type = nil) ⇒ Object
Create a new PGRange using the receiver as the input range, with the given database type.
| 556 557 558 | # File 'lib/sequel/extensions/pg_range.rb', line 556 def pg_range(db_type=nil) Sequel::Postgres::PGRange.from_range(self, db_type) end |