MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / Find

Method Find

internal/data/list.go:74–74  ·  view source on GitHub ↗

Find retrieves the record with the given key. Returns the record and true if found, nil and false otherwise.

(key []byte)

Source from the content-addressed store, hash-verified

72 // Find retrieves the record with the given key.
73 // Returns the record and true if found, nil and false otherwise.
74 Find(key []byte) (*core.Record, bool)
75
76 // Min returns the item with the smallest key (head of the list).
77 // Returns the item and true if the list is not empty, nil and false otherwise.

Implementers 2

DoublyLinkedListinternal/data/doubly_linked_list.go
BTreeinternal/data/btree.go

Calls

no outgoing calls