module 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.
Calls superclass method
# File lib/sequel/extensions/pg_range.rb, line 362 def literal_other_append(sql, v) case v when Range super(sql, Sequel::Postgres::PGRange.from_range(v)) else super end end