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
@@ -51,8 +51,8 @@ type Rows interface {
// true.
Values() ([]any, error)
// RawValues returns the unparsed bytes of the row values. The returned [][]byte is only valid until the next Next
// call or the Rows is closed. 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 until the next Next
// call or the Rows is closed.
RawValues() [][]byte
}