File: query_helpers.go

package info (click to toggle)
golang-gopkg-rethinkdb-rethinkdb-go.v6 6.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,736 kB
  • sloc: python: 1,382; makefile: 16; sh: 9
file content (15 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package rethinkdb

import (
	p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
)

func newStopQuery(token int64) Query {
	return Query{
		Type:  p.Query_STOP,
		Token: token,
		Opts: map[string]interface{}{
			"noreply": true,
		},
	}
}