Function holochain_state::mutations::insert_op_lite_into_authored
source · pub fn insert_op_lite_into_authored(
txn: &mut Transaction<'_>,
op_lite: &DhtOpLight,
hash: &DhtOpHash,
order: &OpOrder,
timestamp: &Timestamp
) -> StateMutationResult<()>
Expand description
Insert a DhtOpLight
into an authored database.
This sets the sql fields so the authored database
can be used in queries with other databases.
Because we are sharing queries across databases
we need the data in the same shape.