Sha256: fcd285b0b109df23f21286e5fd7b3df1b408633dcd8605f24ed7d8830876771a

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

module Datewari
  class Paginator
    class Postgresql < Base
      self.cast_function = 'TO_CHAR'
      self.date_format = { yearly:  'YYYY-01-01',
                           monthly: 'YYYY-MM-01',
                           weekly:  'IYYY-IW',
                           daily:   'YYYY-MM-DD' }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datewari-1.1.0 lib/datewari/paginator/postgresql.rb
datewari-1.0.3 lib/datewari/paginator/postgresql.rb
datewari-1.0.2 lib/datewari/paginator/postgresql.rb
datewari-1.0.1 lib/datewari/paginator/postgresql.rb
datewari-1.0.0 lib/datewari/paginator/postgresql.rb