MCPcopy Create free account
hub / github.com/apecloud/myduckserver / Encode

Method Encode

pgtypes/pgtypes.go:411–413  ·  view source on GitHub ↗
(v any, buf []byte)

Source from the content-addressed store, hash-verified

409 Scale: scale,
410 Size: PostgresTypeSize(oid),
411 }, nil
412}
413
414func (p PostgresType) Encode(v any, buf []byte) ([]byte, error) {
415 return DefaultTypeMap.Encode(p.PG.OID, p.PG.Codec.PreferredFormat(), v, buf)
416}

Callers 4

NormalizeExpectedRowFunction · 0.45
NormalizeValToStringFunction · 0.45
NormalizeArrayTypeFunction · 0.45
NormalizeValFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected