Class: ActiveRecord::ConnectionAdapters::YugabyteDBAdapter::MoneyDecoder
- Inherits:
-
YSQL::SimpleDecoder
- Object
- YSQL::SimpleDecoder
- ActiveRecord::ConnectionAdapters::YugabyteDBAdapter::MoneyDecoder
- Defined in:
- lib/active_record/connection_adapters/yugabytedb_adapter.rb
Overview
:nodoc:
Constant Summary collapse
- TYPE =
OID::Money.new
Instance Method Summary collapse
Instance Method Details
#decode(value, tuple = nil, field = nil) ⇒ Object
1202 1203 1204 |
# File 'lib/active_record/connection_adapters/yugabytedb_adapter.rb', line 1202 def decode(value, tuple = nil, field = nil) TYPE.deserialize(value) end |