type github.com/jackc/pgx/v5/pgtype.TextCodec
19 uses
github.com/jackc/pgx/v5/pgtype (current package)
ltree.go#L24: return (TextCodec)(l).PlanEncode(m, oid, format, value)
ltree.go#L75: return (TextCodec)(l).PlanScan(m, oid, format, target)
ltree.go#L116: return (TextCodec)(l).DecodeDatabaseSQLValue(m, oid, format, src)
ltree.go#L121: return (TextCodec)(l).DecodeValue(m, oid, format, src)
pgtype.go#L1146: codec = TextCodec{}
pgtype_default.go#L50: defaultMap.RegisterType(&Type{Name: "aclitem", OID: ACLItemOID, Codec: &TextFormatOnlyCodec{TextCodec{}}})
pgtype_default.go#L54: defaultMap.RegisterType(&Type{Name: "bpchar", OID: BPCharOID, Codec: TextCodec{}})
pgtype_default.go#L70: defaultMap.RegisterType(&Type{Name: "jsonpath", OID: JSONPathOID, Codec: &TextFormatOnlyCodec{TextCodec{}}})
pgtype_default.go#L75: defaultMap.RegisterType(&Type{Name: "name", OID: NameOID, Codec: TextCodec{}})
pgtype_default.go#L82: defaultMap.RegisterType(&Type{Name: "text", OID: TextOID, Codec: TextCodec{}})
pgtype_default.go#L88: defaultMap.RegisterType(&Type{Name: "unknown", OID: UnknownOID, Codec: TextCodec{}})
pgtype_default.go#L91: defaultMap.RegisterType(&Type{Name: "varchar", OID: VarcharOID, Codec: TextCodec{}})
text.go#L86: type TextCodec struct{}
text.go#L88: func (TextCodec) FormatSupported(format int16) bool {
text.go#L92: func (TextCodec) PreferredFormat() int16 {
text.go#L96: func (TextCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
text.go#L152: func (TextCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
text.go#L170: func (c TextCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
text.go#L174: func (c TextCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {