Skip to main content

get_bases

Function get_bases 

Source
pub async fn get_bases(
    conn: &mut PgConnection,
    changeset_id: Uuid,
    keys: &[EntityKey],
) -> ModelResult<HashMap<EntityKey, EntitySnapshot>>
Expand description

The live state each of the given entities had when the changeset first staged it, by key; creates and entities the changeset doesn’t have are left out.