|
|
@@ -368,9 +368,6 @@ type Query struct {
|
|
|
binding func(q *QueryInfo) ([]interface{}, error)
|
|
|
attempts int
|
|
|
totalLatency int64
|
|
|
-
|
|
|
- // v3+ send client timestamp in query
|
|
|
- sendTimestamp bool
|
|
|
}
|
|
|
|
|
|
//Attempts returns the number of times the query was executed.
|
|
|
@@ -516,13 +513,6 @@ func (q *Query) Bind(v ...interface{}) *Query {
|
|
|
return q
|
|
|
}
|
|
|
|
|
|
-// SendTimestamp will send the current time on the client when sending the query
|
|
|
-// on protocol3 and above. This allows
|
|
|
-func (q *Query) SendTimestamp(b bool) *Query {
|
|
|
- q.sendTimestamp = b
|
|
|
- return q
|
|
|
-}
|
|
|
-
|
|
|
// Exec executes the query without returning any rows.
|
|
|
func (q *Query) Exec() error {
|
|
|
iter := q.Iter()
|