Skip to main content

tx_items_from_edn

Function tx_items_from_edn 

Source
pub fn tx_items_from_edn(
    db: &Db,
    interner: &mut KeywordInterner,
    forms: &[Edn],
) -> Result<Vec<TxItem>, TxFormError>
Expand description

Converts wire EDN transaction forms into engine transaction items.

New keyword values are interned into interner (the caller persists the naming change before committing the transaction).

ยงErrors

Returns TxFormError when a form is malformed or references unknown attributes/idents.