We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8da879 commit 343f52cCopy full SHA for 343f52c
1 file changed
google/spanner/v1/type.proto
@@ -163,4 +163,12 @@ enum TypeAnnotationCode {
163
// [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] when a client interacts with PostgreSQL-enabled
164
// Spanner databases.
165
PG_NUMERIC = 2;
166
+
167
+ // PostgreSQL compatible JSONB type. This annotation needs to be applied to
168
+ // [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
169
+ // type code to specify that values of this type should be treated as
170
+ // PostgreSQL JSONB values. Currently this annotation is always needed for
171
+ // [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled
172
+ // Spanner databases.
173
+ PG_JSONB = 3;
174
}
0 commit comments