MCPcopy Create free account
hub / github.com/cloudspannerecosystem/spanner-cli / nullJSONToString

Function nullJSONToString

decoder.go:353–359  ·  view source on GitHub ↗
(v spanner.NullJSON)

Source from the content-addressed store, hash-verified

351}
352
353func nullJSONToString(v spanner.NullJSON) string {
354 if v.Valid {
355 return v.String()
356 } else {
357 return "NULL"
358 }
359}
360
361func nullIntervalToString(v spanner.NullInterval) string {
362 if v.Valid {

Callers 1

DecodeColumnFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected