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

Method PreferredFormat

pgtype/pgtype.go:165–165  ·  view source on GitHub ↗

PreferredFormat returns the preferred format.

()

Source from the content-addressed store, hash-verified

163
164 // PreferredFormat returns the preferred format.
165 PreferredFormat() int16
166
167 // PlanEncode returns an EncodePlan for encoding value into PostgreSQL format for oid and format. If no plan can be
168 // found then nil is returned.

Callers 2

PreferredFormatMethod · 0.65
RegisterTypeMethod · 0.65

Implementers 15

ByteaCodecpgtype/bytea.go
Float8Codecpgtype/float8.go
BoolCodecpgtype/bool.go
DateCodecpgtype/date.go
BitsCodecpgtype/bits.go
NumericCodecpgtype/numeric.go
HstoreCodecpgtype/hstore.go
TimestampCodecpgtype/timestamp.go
MacaddrCodecpgtype/macaddr.go
Int2Codecpgtype/int.go
Int4Codecpgtype/int.go
Int8Codecpgtype/int.go

Calls

no outgoing calls

Tested by

no test coverage detected