Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 606 Bytes
package ravendb
// RevisionsCollectionConfiguration describes configuration for revisions collection
type RevisionsCollectionConfiguration struct {
// Note: in java MinimumRevisionsToKeep is Long, which is ref type
// so by default it's not serialized to JSON if not set
// in Go 0 is default so use "omitempty" to achieve the same effect
MinimumRevisionsToKeep int64 `json:"MinimumRevisionsToKeep,omitempty"`
MinimumRevisionAgeToKeep *Duration `json:"MinimumRevisionAgeToKeep"`
Disabled bool `json:"Disabled"`
PurgeOnDelete bool `json:"PurgeOnDelete"`
}
You can’t perform that action at this time.