Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 954 Bytes

MvccpbEvent.md

File metadata and controls

12 lines (8 loc) · 954 Bytes

MvccpbEvent

Properties

Name Type Description Notes
kv MvccpbKeyValue kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion. [optional]
prev_kv MvccpbKeyValue prev_kv holds the key-value pair before the event happens. [optional]
type EventEventType type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted. [optional]

[Back to Model list] [Back to API list] [Back to README]