MCPcopy Create free account
hub / github.com/couchbase/moss / Get

Method Get

api.go:155–155  ·  view source on GitHub ↗

Get retrieves a value from the collection for a given key and returns nil if the key is not found.

(key []byte, readOptions ReadOptions)

Source from the content-addressed store, hash-verified

153 // Get retrieves a value from the collection for a given key
154 // and returns nil if the key is not found.
155 Get(key []byte, readOptions ReadOptions) ([]byte, error)
156
157 // NewBatch returns a new Batch instance with preallocated
158 // resources. See the Batch.Alloc() method.

Callers 1

TestCollectionGetFunction · 0.95

Implementers 1

collectioncollection.go

Calls

no outgoing calls

Tested by 1

TestCollectionGetFunction · 0.76