type github.com/jackc/pgx/v5/pgtype.Text
63 uses
github.com/jackc/pgx/v5/pgtype (current package)
builtin_wrappers.go#L385: func (w *stringWrapper) ScanText(v Text) error {
builtin_wrappers.go#L394: func (w stringWrapper) TextValue() (Text, error) {
builtin_wrappers.go#L395: return Text{String: string(w), Valid: true}, nil
builtin_wrappers.go#L651: func (w fmtStringerWrapper) TextValue() (Text, error) {
builtin_wrappers.go#L652: return Text{String: w.s.String(), Valid: true}, nil
builtin_wrappers.go#L673: func (w *byteSliceWrapper) ScanText(v Text) error {
builtin_wrappers.go#L683: func (w byteSliceWrapper) TextValue() (Text, error) {
builtin_wrappers.go#L685: return Text{}, nil
builtin_wrappers.go#L688: return Text{String: string(w), Valid: true}, nil
enum_codec.go#L105: return scanner.ScanText(Text{})
enum_codec.go#L108: return scanner.ScanText(Text{String: plan.codec.lookupAndCacheString(src), Valid: true})
float4.go#L268: return s.ScanText(Text{})
float4.go#L278: return s.ScanText(Text{String: strconv.FormatFloat(float64(f32), 'f', -1, 32), Valid: true})
float8.go#L306: return s.ScanText(Text{})
float8.go#L316: return s.ScanText(Text{String: strconv.FormatFloat(f64, 'f', -1, 64), Valid: true})
hstore.go#L416: func (p *hstoreParser) consumeDoubleQuotedOrNull() (Text, error) {
hstore.go#L419: return Text{}, errors.New("found end instead of value")
hstore.go#L426: return Text{}, err
hstore.go#L430: return Text{}, err
hstore.go#L432: return Text{String: "", Valid: false}, nil
hstore.go#L434: return Text{}, unexpectedByteErr(next, '"')
hstore.go#L441: return Text{}, err
hstore.go#L443: return Text{String: s, Valid: true}, nil
int.go#L575: return s.ScanText(Text{})
int.go#L584: return s.ScanText(Text{String: strconv.FormatInt(n, 10), Valid: true})
int.go#L1149: return s.ScanText(Text{})
int.go#L1158: return s.ScanText(Text{String: strconv.FormatInt(n, 10), Valid: true})
int.go#L1745: return s.ScanText(Text{})
int.go#L1754: return s.ScanText(Text{String: strconv.FormatInt(n, 10), Valid: true})
ltree.go#L111: return scanner.ScanText(Text{String: string(src[1:]), Valid: true})
macaddr.go#L121: return scanner.ScanText(Text{})
macaddr.go#L124: return scanner.ScanText(Text{String: net.HardwareAddr(src).String(), Valid: true})
numeric.go#L760: return scanner.ScanText(Text{})
numeric.go#L775: return scanner.ScanText(Text{String: string(sbuf), Valid: true})
pgtype_default.go#L239: registerDefaultPgTypeVariants[Text](defaultMap, "text")
text.go#L10: ScanText(v Text) error
text.go#L14: TextValue() (Text, error)
text.go#L17: type Text struct {
text.go#L23: func (t *Text) ScanText(v Text) error {
text.go#L29: func (t Text) TextValue() (Text, error) {
text.go#L34: func (dst *Text) Scan(src any) error {
text.go#L36: *dst = Text{}
text.go#L42: *dst = Text{String: src, Valid: true}
text.go#L45: *dst = Text{String: string(src), Valid: true}
text.go#L53: func (src Text) Value() (driver.Value, error) {
text.go#L61: func (src Text) MarshalJSON() ([]byte, error) {
text.go#L70: func (dst *Text) UnmarshalJSON(b []byte) error {
text.go#L78: *dst = Text{}
text.go#L80: *dst = Text{String: *s, Valid: true}
text.go#L222: return scanner.ScanText(Text{})
text.go#L225: return scanner.ScanText(Text{String: string(src), Valid: true})
tid.go#L180: return scanner.ScanText(Text{})
tid.go#L190: return scanner.ScanText(Text{
time.go#L187: return ts.ScanText(Text{})
time.go#L203: return ts.ScanText(Text{String: string(buf), Valid: true})
uint32.go#L323: return s.ScanText(Text{})
uint32.go#L331: return s.ScanText(Text{String: strconv.FormatUint(n, 10), Valid: true})
uint64.go#L294: return s.ScanText(Text{})
uint64.go#L302: return s.ScanText(Text{String: strconv.FormatUint(n, 10), Valid: true})
uuid.go#L238: return scanner.ScanText(Text{})
uuid.go#L248: return scanner.ScanText(Text{String: encodeUUID(buf), Valid: true})