소스 검색

Updated documentation to reflect new API

Ben Hood 11 년 전
부모
커밋
fbe049b861
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      session.go

+ 2 - 1
session.go

@@ -262,7 +262,8 @@ func (q *Query) RetryPolicy(r RetryPolicy) *Query {
 	return q
 }
 
-// Rebind resets the query arguments of a previous bound query
+// Bind sets query arguments of query. This can also be used to rebind new query arguments
+// to an existing query instance.
 func (q *Query) Bind(v ...interface{}) *Query {
 	q.values = v
 	return q