type github.com/jackc/pgx/v5/pgtype.Int2Codec
8 uses
github.com/jackc/pgx/v5/pgtype (current package)
int.go#L124: type Int2Codec struct{}
int.go#L126: func (Int2Codec) FormatSupported(format int16) bool {
int.go#L130: func (Int2Codec) PreferredFormat() int16 {
int.go#L134: func (Int2Codec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
int.go#L213: func (Int2Codec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
int.go#L273: func (c Int2Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L286: 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{}})