Class/Module Index [+]

Quicksearch

Sequel::Postgres::PGRange::DatasetMethods

Public Instance Methods

literal_other_append(sql, v) click to toggle source

Handle literalization of ruby Range objects, treating them as PostgreSQL ranges.

# File lib/sequel/extensions/pg_range.rb, line 293
def literal_other_append(sql, v)
  case v
  when Range
    super(sql, Sequel::Postgres::PGRange.from_range(v))
  else
    super
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.