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.



111
112
113
# File 'lib/sequel/extensions/pg_range_ops.rb', line 111

def pg_range
  RangeOp.new(self)
end