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

Function NumericToString

testing/generation/function_coverage/create_tests.go:144–150  ·  view source on GitHub ↗

NumericToString converts a numeric to a string.

(numeric pgtype.Numeric)

Source from the content-addressed store, hash-verified

142
143// NumericToString converts a numeric to a string.
144func NumericToString(numeric pgtype.Numeric) string {
145 str, err := numeric.Value()
146 if err != nil {
147 panic(err)
148 }
149 return str.(string)
150}

Callers 1

GenerateTestsFunction · 0.85

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected