gopkg.in/rethinkdb/rethinkdb-go.v6@v6.2.2/query_helpers.go (about)

     1  package rethinkdb
     2  
     3  import (
     4  	p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
     5  )
     6  
     7  func newStopQuery(token int64) Query {
     8  	return Query{
     9  		Type:  p.Query_STOP,
    10  		Token: token,
    11  		Opts: map[string]interface{}{
    12  			"noreply": true,
    13  		},
    14  	}
    15  }