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.



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

def pg_range
  RangeOp.new(self)
end