MCPcopy Create free account
hub / github.com/go-pg/pg / Value

Method Value

orm/format.go:47–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (q *SafeQueryAppender) Value() types.Safe {
48 b, err := q.AppendValue(nil, 1)
49 if err != nil {
50 return types.Safe(err.Error())
51 }
52 return types.Safe(internal.BytesToString(b))
53}
54
55//------------------------------------------------------------------------------
56

Callers

nothing calls this directly

Calls 4

AppendValueMethod · 0.95
SafeTypeAlias · 0.92
BytesToStringFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected