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

Function MakeString

sqlparser/sqltypes/sqltypes.go:60–62  ·  view source on GitHub ↗

MakeString makes a String value from a []byte.

(b []byte)

Source from the content-addressed store, hash-verified

58
59// MakeString makes a String value from a []byte.
60func MakeString(b []byte) Value {
61 return Value{String(b)}
62}
63
64// Raw returns the raw bytes. All types are currently implemented as []byte.
65func (v Value) Raw() []byte {

Callers

nothing calls this directly

Calls 1

StringTypeAlias · 0.70

Tested by

no test coverage detected