MCPcopy Create free account
hub / github.com/dinedal/textql / MakeNumeric

Function MakeNumeric

sqlparser/sqltypes/sqltypes.go:50–52  ·  view source on GitHub ↗

MakeNumeric makes a Numeric from a []byte without validation.

(b []byte)

Source from the content-addressed store, hash-verified

48
49// MakeNumeric makes a Numeric from a []byte without validation.
50func MakeNumeric(b []byte) Value {
51 return Value{Numeric(b)}
52}
53
54// MakeFractional makes a Fractional value from a []byte without validation.
55func MakeFractional(b []byte) Value {

Callers

nothing calls this directly

Calls 1

NumericTypeAlias · 0.85

Tested by

no test coverage detected