Skip to main content

apply_stored_records

Function apply_stored_records 

pub fn apply_stored_records(
    db: &impl DbQuery,
    events: &impl EventWriter<InternalEvent>,
    row: &StoredGroupMessage,
) -> Result<bool, StorageError>
Expand description

Import only: mark a row from its earliest authorized record from the topic. An archived record or deletion message never marks a row by itself; an archived row is marked only by its own field 19, at its insert. Receive never needs this: the topic orders a target before its deletion. Returns true when it marked the row.