Class/Module Index [+]

Quicksearch

Sequel::Postgres::RangeOp

The RangeOp class is a simple container for a single object that defines methods that yield Sequel expression objects representing PostgreSQL range operators and functions.

Most methods in this class are defined via metaprogramming, see the pg_range_ops extension documentation for details on the API.

Constants

FUNCTIONS
OPERATORS

Public Instance Methods

ends_after(v) click to toggle source
# File lib/sequel/extensions/pg_range_ops.rb, line 86
def ends_after(v)
  Sequel::Deprecation.deprecate('Postgres::PGRangeOp#ends_after', "Please switch to Postgres::PGRangeOp#starts_after")
  starts_after(v)
end
pg_range() click to toggle source

Return the receiver.

# File lib/sequel/extensions/pg_range_ops.rb, line 98
def pg_range
  self
end
starts_before(v) click to toggle source
# File lib/sequel/extensions/pg_range_ops.rb, line 82
def starts_before(v)
  Sequel::Deprecation.deprecate('Postgres::PGRangeOp#starts_before', "Please switch to Postgres::PGRangeOp#ends_before")
  ends_before(v)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.