module Sequel::Postgres::PGRange::DatasetMethods
Private 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 305 def literal_other_append(sql, v) 306 case v 307 when Range 308 super(sql, Sequel::Postgres::PGRange.from_range(v)) 309 else 310 super 311 end 312 end