Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Jsonb

Inherits:
Type::Json show all
Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/oid/jsonb.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ActiveModel::Type::Value

#limit, #precision, #scale

Instance Method Summary collapse

Methods inherited from Type::Json

#accessor, #changed_in_place?, #deserialize, #serialize

Methods included from ActiveModel::Type::Helpers::Mutable

#cast, #changed_in_place?, #immutable_value

Methods inherited from ActiveModel::Type::Value

#==, #as_json, #assert_valid_value, #binary?, #cast, #changed?, #changed_in_place?, #deserialize, #force_equality?, #hash, #immutable_value, #initialize, #map, #serializable?, #serialize, #type_cast_for_schema, #value_constructed_by_mass_assignment?

Constructor Details

This class inherits a constructor from ActiveModel::Type::Value

Instance Method Details

#typeObject



8
9
10
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/jsonb.rb', line 8

def type
  :jsonb
end