MCPcopy Index your code
hub / github.com/cloudspannerecosystem/spanner-cli / nullStringToString

Function nullStringToString

decoder.go:329–335  ·  view source on GitHub ↗
(v spanner.NullString)

Source from the content-addressed store, hash-verified

327}
328
329func nullStringToString(v spanner.NullString) string {
330 if v.Valid {
331 return v.StringVal
332 } else {
333 return "NULL"
334 }
335}
336
337func nullTimeToString(v spanner.NullTime) string {
338 if v.Valid {

Callers 1

DecodeColumnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected