Skip to main content

insert

Function insert 

Source
pub async fn insert(
    conn: &mut PgConnection,
    pkey_policy: PKeyPolicy<Uuid>,
    new: &NewCreditRegistration,
    event_message: Option<&str>,
) -> ModelResult<Uuid>
Expand description

Creates a ledger row at pending_prerequisites with a created event. The id is allocated here because request_item_id derives from it.