似乎扳手支持结构类型。 https://cloud.google.com/spanner/docs/data-types#struct-type
但是,DDL没有提及如何使用。 https://cloud.google.com/spanner/docs/data-definition-language#data_types
这真的让我感到困惑,或者我被文件误解了?
Seems that spanner support struct type. https://cloud.google.com/spanner/docs/data-types#struct-type
However, DDL didn't mention how to use. https://cloud.google.com/spanner/docs/data-definition-language#data_types
It's really confuse me, or I got misunderstood with the documents?
最满意答案
你是对的。 对困惑感到抱歉。
Cloud Spanner不支持Struct作为列类型。 它仅支持Arrays作为列类型,但它确实从Structs中的查询返回数据,因此它是数据返回类型。
You are correct. Sorry for the confusion.
Cloud Spanner doesn't support Struct as a column type. It only supports Arrays as column types, but it does return data from queries in Structs so it's a data return type.
更多推荐
发布评论