MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Value

Method Value

postgres/parser/uuid/sql.go:75–81  ·  view source on GitHub ↗

Value implements the driver.Valuer interface.

()

Source from the content-addressed store, hash-verified

73
74// Value implements the driver.Valuer interface.
75func (u NullUUID) Value() (driver.Value, error) {
76 if !u.Valid {
77 return nil, nil
78 }
79 // Delegate to UUID Value function
80 return u.UUID.Value()
81}
82
83// Scan implements the sql.Scanner interface.
84func (u *NullUUID) Scan(src interface{}) error {

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected