github.com/altipla-consulting/ravendb-go-client@v0.1.3/server_wide_operation.go (about)

     1  package ravendb
     2  
     3  // Note: for simplicity, ServerWideOperation is folded into Operation
     4  
     5  func NewServerWideOperation(requestExecutor *RequestExecutor, conventions *DocumentConventions, id int64) *Operation {
     6  	res := NewOperation(requestExecutor, nil, conventions, id)
     7  	res.IsServerWide = true
     8  	return res
     9  }