Get returns the value for the given key. Returns nil if the key does not exist in this bucket. An empty slice is returned for keys that exist but have no value assigned.

NOTE: The value returned by this function is only valid during a transaction. Attempting to access it after a transaction has ended results in undefined behavior. Additionally, the value must NOT be modified by the caller. These constraints prevent additional data copies and allows support for memory-mapped database implementations.

Get is referenced in 2 repositories