Struct ckb_db::write_batch::RocksDBWriteBatch[][src]

pub struct RocksDBWriteBatch { /* fields omitted */ }
Expand description

An atomic batch of write operations.

Making an atomic commit of several write operations.

Implementations

Return the count of write batch.

Return WriteBatch serialized size (in bytes).

Returns true if the write batch contains no operations.

Write the bytes into the given column with associated key.

Delete the data associated with the given key and given column.

Remove database entries from start key to end key.

Removes the database entries in the range [“begin_key”, “end_key”), i.e., including “begin_key” and excluding “end_key”. It is not an error if no keys exist in the range [“begin_key”, “end_key”).

Clear all updates buffered in this batch.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.