MCPcopy Create free account
hub / github.com/bradfitz/go-sql-test / EncodeText

Method EncodeText

src/github.com/jackc/pgx/values.go:64–64  ·  view source on GitHub ↗

EncodeText returns the value encoded into a string. status must be NullText if the value is NULL, UnsafeText if the value should be quoted and escaped, or SafeText if the value should not be quoted.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

sendPreparedQueryMethod · 0.65
sanitizeArgFunction · 0.65

Implementers 10

NullPointsrc/github.com/jackc/pgx/example_custo
NullFloat32src/github.com/jackc/pgx/values.go
NullFloat64src/github.com/jackc/pgx/values.go
NullStringsrc/github.com/jackc/pgx/values.go
NullInt16src/github.com/jackc/pgx/values.go
NullInt32src/github.com/jackc/pgx/values.go
NullInt64src/github.com/jackc/pgx/values.go
NullBoolsrc/github.com/jackc/pgx/values.go
NullTimesrc/github.com/jackc/pgx/values.go
coreTextEncodersrc/github.com/jackc/pgx/query_test.go

Calls

no outgoing calls

Tested by

no test coverage detected