spanner_arrays

command
v0.0.0-...-3b29460 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

This is a demonstration of the use of Cloud Spanner arrays using the Go client library.

The key takeaway here is that even if your string fields are not nullable, if they are returned as an arrray, you still must use the spanner.NullString type to receive them. Populating them, however, can be done with either spanner.NullString or plain string.

Documentation

Overview

Sample spanner_arrays is a demonstration program which queries Google's Cloud Spanner and returns results containing arrays.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL