Function darkfi_sdk::wasm::db::db_set

source ยท
pub fn db_set(
    db_handle: DbHandle,
    key: &[u8],
    value: &[u8],
) -> GenericResult<()>
Expand description

Only update() can call this. Set a value within the transaction.

db_set(tx_handle, key, value);