MCPcopy
hub / github.com/jackc/pgx / NewCompositeTextBuilder

Function NewCompositeTextBuilder

pgtype/composite.go:532–535  ·  view source on GitHub ↗
(m *Map, buf []byte)

Source from the content-addressed store, hash-verified

530}
531
532func NewCompositeTextBuilder(m *Map, buf []byte) *CompositeTextBuilder {
533 buf = append(buf, '(') // allocate room for number of fields
534 return &CompositeTextBuilder{m: m, buf: buf}
535}
536
537func (b *CompositeTextBuilder) AppendValue(oid uint32, field any) {
538 if b.err != nil {

Callers 1

EncodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected