Module: Sequel::Postgres::RangeOpMethods

Included in:
LiteralString, SQL::GenericExpression, Symbol
Defined in:
lib/sequel/extensions/pg_range_ops.rb

Instance Method Summary collapse

Instance Method Details

#pg_rangeObject

Wrap the receiver in an RangeOp so you can easily use the PostgreSQL range functions and operators with it.



130
131
132
# File 'lib/sequel/extensions/pg_range_ops.rb', line 130

def pg_range
  RangeOp.new(self)
end