-
Notifications
You must be signed in to change notification settings - Fork 1.5k
spanner: support embedded structs #692
Copy link
Copy link
Closed
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.help wantedWe'd love to have community involvement on this issue.We'd love to have community involvement on this issue.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the Spanner API.Issues related to the Spanner API.help wantedWe'd love to have community involvement on this issue.We'd love to have community involvement on this issue.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Hello.
With the spanner package, it is currently impossible to write and retrieve structs that embedded other structs.
For example:
Whenever attempting to use the
toStructmethod ofspanner.Row, the spanner package is unable to locate fields from an embedded struct.The go driver for Mongo DB, here, implemented this feature really well. Can something similar be developed for the spanner package?