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

Function nullDateToString

decoder.go:345–351  ·  view source on GitHub ↗
(v spanner.NullDate)

Source from the content-addressed store, hash-verified

343}
344
345func nullDateToString(v spanner.NullDate) string {
346 if v.Valid {
347 return strings.Trim(v.String(), `"`)
348 } else {
349 return "NULL"
350 }
351}
352
353func nullJSONToString(v spanner.NullJSON) string {
354 if v.Valid {

Callers 1

DecodeColumnFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected