github.com/jackc/pgx/v5/pgtype.Map.Encode (method)
10 uses
github.com/jackc/pgx/v5/pgtype (current package)
numeric.go#L818: buf, err := m.Encode(oid, TextFormatCode, n, nil)
pgtype.go#L1188: buf, err := m.Encode(oid, TextFormatCode, value, nil)
pgtype.go#L1310: newBuf, err = plan.m.Encode(plan.oid, plan.formatCode, v, buf)
pgtype.go#L1332: newBuf, err2 = plan.m.Encode(plan.oid, BinaryFormatCode, scannedValue, buf)
pgtype.go#L1952: func (m *Map) Encode(oid uint32, formatCode int16, value any, buf []byte) (newBuf []byte, err error) {
github.com/jackc/pgx/v5
extended_query_builder.go#L125: buf, err := m.Encode(oid, formatCode, arg, eqb.paramValueBytes)
values.go#L17: buf, err := m.Encode(0, TextFormatCode, arg, []byte{})
values.go#L30: argBuf, err := m.Encode(oid, BinaryFormatCode, arg, buf)
values.go#L49: textBuf, err := m.Encode(oid, TextFormatCode, arg, nil)
values.go#L62: return m.Encode(oid, BinaryFormatCode, v, buf)