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

Function UUID

testing/go/framework.go:892–897  ·  view source on GitHub ↗

UUID is a helper function to convert UUID strings to pgtype.UUID instances. If the string cannot be converted, this function will panic.

(s string)

Source from the content-addressed store, hash-verified

890// UUID is a helper function to convert UUID strings to pgtype.UUID instances. If the string
891// cannot be converted, this function will panic.
892func UUID(s string) (u pgtype.UUID) {
893 if err := u.Scan(s); err != nil {
894 panic(err)
895 }
896 return u
897}
898
899// Connect replaces the Current connection with a new one, using the given username and password. If the username is
900// empty, then the default connection is used. If the username and password match the existing connection, then no new

Callers 1

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected