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

Method NewWriteBatch

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

NewWriteBatch creates a new write batch for batch operations

()

Source from the content-addressed store, hash-verified

171
172// NewWriteBatch creates a new write batch for batch operations
173func (db *DB) NewWriteBatch() driver.IWriteBatch {
174 return &WriteBatch{
175 db: db,
176 }
177}
178
179// NewIterator creates a new iterator for iterating over the database
180func (db *DB) NewIterator() driver.IIterator {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected