MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Value

Method Value

pkg/util/uuid/sql.go:56–62  ·  view source on GitHub ↗

Value implements the driver.Valuer interface.

()

Source from the content-addressed store, hash-verified

54
55// Value implements the driver.Valuer interface.
56func (u NullUUID) Value() (driver.Value, error) {
57 if !u.Valid {
58 return nil, nil
59 }
60 // Delegate to UUID Value function
61 return u.UUID.Value()
62}
63
64// Scan implements the sql.Scanner interface.
65func (u *NullUUID) Scan(src interface{}) error {

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected