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

Function nullBoolToString

decoder.go:279–285  ·  view source on GitHub ↗
(v spanner.NullBool)

Source from the content-addressed store, hash-verified

277}
278
279func nullBoolToString(v spanner.NullBool) string {
280 if v.Valid {
281 return fmt.Sprintf("%t", v.Bool)
282 } else {
283 return "NULL"
284 }
285}
286
287func nullBytesToString(v []byte) string {
288 if v != nil {

Callers 1

DecodeColumnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected