@@ -108,11 +108,13 @@ type WriteResponse struct {
108108}
109109
110110type RunOpts struct {
111- Db interface {} `gorethink:"db,omitempty"`
112- Profile interface {} `gorethink:"profile,omitempty"`
113- UseOutdated interface {} `gorethink:"use_outdated,omitempty"`
114- NoReply interface {} `gorethink:"noreply,omitempty"`
115- TimeFormat interface {} `gorethink:"time_format,omitempty"`
111+ Db interface {} `gorethink:"db,omitempty"`
112+ Profile interface {} `gorethink:"profile,omitempty"`
113+ UseOutdated interface {} `gorethink:"use_outdated,omitempty"`
114+ NoReply interface {} `gorethink:"noreply,omitempty"`
115+ TimeFormat interface {} `gorethink:"time_format,omitempty"`
116+ GroupFormat interface {} `gorethink:"group_format,omitempty"`
117+ BinaryFormat interface {} `gorethink:"binary_format,omitempty"`
116118
117119 // Unsupported options
118120
@@ -146,9 +148,6 @@ func (t Term) Run(s *Session, optArgs ...RunOpts) (*Cursor, error) {
146148// scans the result into a variable of type WriteResponse. This function should be used
147149// if you are running a write query (such as Insert, Update, TableCreate, etc...)
148150//
149- // Optional arguments :
150- // "db", "use_outdated" (defaults to false), "noreply" (defaults to false) and "time_format".
151- //
152151// res, err := r.Db("database").Table("table").Insert(doc).RunWrite(sess, r.RunOpts{
153152// NoReply: true,
154153// })
0 commit comments