import "github.com/cockroachdb/cockroach/storage" var s storage.Store s = storage.NewTestStore()
key := storage.MakeMVCCMetadataKey([]byte("mykey"), 123) value, err := s.Engine().Get(key)
key := storage.MakeMVCCMetadataKey([]byte("mykey"), 123) value := []byte("myvalue") err := s.Engine().Put(key, value)In this example, a new key-value pair is written to the store's underlying engine using the Put function. Overall, the CockroachDB storage package provides a comprehensive set of tools for managing and manipulating data within a cluster. Using the Store type, developers can create, read, update, and delete data with ease.