Class Index [+]

Quicksearch

Sequel::Postgres::PGDecimalArray

PGArray subclass for decimal/numeric types. Uses the general parser as the JSON parser cannot handle arbitrary precision numbers.

Constants

ARRAY_TYPE

Private Class Methods

convert_item(s) click to toggle source

Convert the item to a BigDecimal.

     # File lib/sequel/extensions/pg_array.rb, line 371
371:       def self.convert_item(s)
372:         BigDecimal.new(s.to_s)
373:       end

Public Instance Methods

array_type() click to toggle source

Use the decimal type by default.

     # File lib/sequel/extensions/pg_array.rb, line 379
379:       def array_type
380:         super || ARRAY_TYPE
381:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.