Skip to content

Commit 86b5752

Browse files
committed
Update documentation of Query.Values
1 parent 640e5ff commit 86b5752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

session.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ func (q Query) Statement() string {
935935
return q.stmt
936936
}
937937

938-
// Values returns the values passed in via Bind. This can be helpful for wrapping types
939-
// to not have to keep track of the values to be able to access them.
938+
// Values returns the values passed in via Bind.
939+
// This can be used by a wrapper type that needs to access the bound values.
940940
func (q Query) Values() []interface{} {
941941
return q.values
942942
}

0 commit comments

Comments
 (0)