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

     1  package ravendb
     2  
     3  // DocumentChange describes a change to the document. Can be used as DatabaseChange.
     4  type DocumentChange struct {
     5  	Type           DocumentChangeTypes
     6  	ID             string
     7  	CollectionName string
     8  	ChangeVector   *string
     9  }
    10  
    11  func (c *DocumentChange) String() string {
    12  	return c.Type + " on " + c.ID
    13  }