pub async fn fill_sisu_person_id(
conn: &mut PgConnection,
id: Uuid,
sisu_person_id: &DbSecret,
first_names: Option<&DbSecret>,
last_name: Option<&DbSecret>,
) -> ModelResult<bool>Expand description
Gives a live link that has no Sisu person id yet the one the registry resolved its number to, along with the registry’s names where the link has none.
Returns false, writing nothing, when another live link already holds sisu_person_id or the
link was retired or holds a different person meanwhile.