Flowdock
v7.1.3.2 - Show latest stable - 0 notes

Range With Format

Constants

RANGE_FORMATS = { db: -> (start, stop) do if start && stop case start when String then "BETWEEN '#{start}' AND '#{stop}'" else "BETWEEN '#{start.to_fs(:db)}' AND '#{stop.to_fs(:db)}'" end elsif start case start when String then ">= '#{start}'" else ">= '#{start.to_fs(:db)}'" end elsif stop case stop when String then "<= '#{stop}'" else "<= '#{stop.to_fs(:db)}'" end end end }

Attributes

Show files where this module is defined (1 file)
Register or log in to add new notes.