Преглед на файлове

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
 	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 {
 func (q *Query) Bind(v ...interface{}) *Query {
 	q.values = v
 	q.values = v
 	return q
 	return q