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

Method PutWithTimestamp

tx_btree.go:34–36  ·  view source on GitHub ↗
(bucket string, key, value []byte, ttl uint32, timestamp uint64)

Source from the content-addressed store, hash-verified

32)
33
34func (tx *Tx) PutWithTimestamp(bucket string, key, value []byte, ttl uint32, timestamp uint64) error {
35 return tx.put(bucket, key, value, ttl, DataSetFlag, timestamp, DataStructureBTree)
36}
37
38// Put sets the value for a key in the bucket.
39// a wrapper of the function put.

Callers 1

TestTx_PutWithTimestampFunction · 0.80

Calls 1

putMethod · 0.95

Tested by 1

TestTx_PutWithTimestampFunction · 0.64