lib/google/cloud/spanner/convert.rb in google-cloud-spanner-2.15.0 vs lib/google/cloud/spanner/convert.rb in google-cloud-spanner-2.16.0
- old
+ new
@@ -180,9 +180,11 @@
code: :ARRAY,
array_element_type: grpc_type_for_field(field.first)
)
when :PG_NUMERIC
V1::Type.new(code: :NUMERIC, type_annotation: :PG_NUMERIC)
+ when :PG_JSONB
+ V1::Type.new(code: :JSON, type_annotation: :PG_JSONB)
else
V1::Type.new(code: field)
end
end