MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Put

Method Put

driver/ipfs-log/db.go:148–150  ·  view source on GitHub ↗

Put inserts a key-value pair into the database

(key, value []byte)

Source from the content-addressed store, hash-verified

146
147// Put inserts a key-value pair into the database
148func (db *DB) Put(key, value []byte) error {
149 return db.db.Put(db.ctx, key, value)
150}
151
152// Get retrieves a value by key from the database
153func (db *DB) Get(key []byte) ([]byte, error) {

Callers 1

SyncPutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected