MCPcopy
hub / github.com/jackc/pgx / FieldDescriptions

Method FieldDescriptions

pgconn/pgconn.go:1788–1790  ·  view source on GitHub ↗

FieldDescriptions returns the field descriptions for the current result set. The returned slice is only valid until the ResultReader is closed. It may return nil (for example, if the query did not return a result set or an error was encountered.)

()

Source from the content-addressed store, hash-verified

1786// the ResultReader is closed. It may return nil (for example, if the query did not return a result set or an error was
1787// encountered.)
1788func (rr *ResultReader) FieldDescriptions() []FieldDescription {
1789 return rr.fieldDescriptions
1790}
1791
1792// Values returns the current row data. NextRow must have been previously been called. The returned [][]byte is only
1793// valid until the next NextRow call or the ResultReader is closed.

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected