Class: RDO::Postgres::Array::TimestampTZ

Inherits:
RDO::Postgres::Array show all
Defined in:
lib/rdo/postgres/array/timestamp_tz.rb

Overview

Ruby handling for timestamptz[] type in PostgreSQL.

Instance Method Summary collapse

Methods inherited from RDO::Postgres::Array

[], #format_value, #initialize, parse, #to_a, #to_s

Constructor Details

This class inherits a constructor from RDO::Postgres::Array

Instance Method Details

#parse_value(s) ⇒ Object



12
13
14
# File 'lib/rdo/postgres/array/timestamp_tz.rb', line 12

def parse_value(s)
  RDO::Util.date_time_with_zone(s)
end