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

Method Value

pkg/util/uuid/sql.go:61–67  ·  view source on GitHub ↗

Value implements the driver.Valuer interface.

()

Source from the content-addressed store, hash-verified

59
60// Value implements the driver.Valuer interface.
61func (u NullUUID) Value() (driver.Value, error) {
62 if !u.Valid {
63 return nil, nil
64 }
65 // Delegate to UUID Value function
66 return u.UUID.Value()
67}
68
69// Scan implements the sql.Scanner interface.
70func (u *NullUUID) Scan(src interface{}) error {

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected