type github.com/jackc/pgx/v5/pgtype.Int2Codec
8 uses
github.com/jackc/pgx/v5/pgtype (current package)
int.go#L123: type Int2Codec struct{}
int.go#L125: func (Int2Codec) FormatSupported(format int16) bool {
int.go#L129: func (Int2Codec) PreferredFormat() int16 {
int.go#L133: func (Int2Codec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
int.go#L212: func (Int2Codec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
int.go#L272: func (c Int2Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L285: func (c Int2Codec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype_default.go#L64: defaultMap.RegisterType(&Type{Name: "int2", OID: Int2OID, Codec: Int2Codec{}})