2
0

Fix documentation for Rows.RawValues and test new behavior

This commit is contained in:
Jack Christensen
2022-04-30 08:27:57 -05:00
parent 81d55568f6
commit a89a400b69
3 changed files with 36 additions and 4 deletions
+2 -2
View File
@@ -864,8 +864,8 @@ func (c *Conn) QueryRow(ctx context.Context, sql string, args ...any) Row {
type QueryFuncRow interface {
FieldDescriptions() []pgproto3.FieldDescription
// RawValues returns the unparsed bytes of the row values. The returned [][]byte is only valid during the current
// function call. However, the underlying byte data is safe to retain a reference to and mutate.
// RawValues returns the unparsed bytes of the row values. The returned data is only valid during the current
// function call.
RawValues() [][]byte
}