2
0

Document new ResultReader.Values behavior

This commit is contained in:
Jack Christensen
2022-07-11 21:15:37 -05:00
parent f0cd9cb867
commit 3dc9d17757
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -1358,8 +1358,7 @@ func (rr *ResultReader) FieldDescriptions() []pgproto3.FieldDescription {
}
// Values returns the current row data. NextRow must have been previously been called. The returned [][]byte is only
// valid until the next NextRow call or the ResultReader is closed. However, the underlying byte data is safe to
// retain a reference to and mutate.
// valid until the next NextRow call or the ResultReader is closed.
func (rr *ResultReader) Values() [][]byte {
return rr.rowValues
}