Class: PG::BinaryDecoder::TimestampUtc
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/binary_decoder.rb
Overview
Convenience classes for timezone options
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TimestampUtc
constructor
A new instance of TimestampUtc.
Constructor Details
#initialize(params = {}) ⇒ TimestampUtc
Returns a new instance of TimestampUtc.
8 9 10 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/binary_decoder.rb', line 8 def initialize(params={}) super(params.merge(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_UTC)) end |