Skip to main content

record_leaf

Function record_leaf 

Source
pub fn record_leaf(
    coll: &str,
    id: &str,
    data: &Value,
    valid_from: Option<&str>,
    valid_to: Option<&str>,
) -> Result<[u8; 32], String>
Expand description

One live document, as logical content.

seq, ts, prev and the object hash are all deliberately absent: they describe how and when this state was arrived at, which is history’s job.