Skip to main content

append

Function append 

Source
pub fn append(id: impl Into<String>) -> WriteBuilder
Expand description

Creates a builder for an existing aggregate.

§Example

append(&existing_id)
    .original_version(current_version)
    .event(&MoneyDeposited { amount: 100 })
    .commit(&executor)
    .await?;