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.


114
115
116
# File 'lib/sequel/extensions/pg_range_ops.rb', line 114

def pg_range
  RangeOp.new(self)
end