Skip to main content

append_journal_entry

Function append_journal_entry 

Source
pub fn append_journal_entry(
    conn: &Connection,
    home_device_id: &str,
    store_id: &str,
    operation_kind: &str,
    payload: &[u8],
) -> Result<i64, MemoryError>
👎Deprecated:

use the MemoryStore fact-create path or append_verified_in_tx

Expand description

Compatibility helper for fact-create tests and offline tools. It owns a transaction and therefore remains atomic, but callers should use the real MemoryStore fact mutation path instead.